diff options
| author | John Barratt <[email protected]> | 2023-02-14 14:21:30 -0800 |
|---|---|---|
| committer | John Barratt <[email protected]> | 2023-02-14 14:21:30 -0800 |
| commit | 517562f62b9fdc97e1160180cd779eea7e66a621 (patch) | |
| tree | d9b8e466be16c1721bb230ff04258c0e4e7d4772 /src/lib | |
| parent | 70eb705af08b5ab5f048369653f89dffc715ffaa (diff) | |
| download | coinos-ui-517562f62b9fdc97e1160180cd779eea7e66a621.tar.gz coinos-ui-517562f62b9fdc97e1160180cd779eea7e66a621.zip | |
add user email and phone number fields
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/store.js | 2 | ||||
| -rw-r--r-- | src/lib/upload.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/store.js b/src/lib/store.js index 93ac3d47..e08d9f94 100644 --- a/src/lib/store.js +++ b/src/lib/store.js @@ -51,4 +51,6 @@ export const request = writable(); export const requestRedirect = writable(); export const selectedRate = writable(); export const token = persistSession('token'); +export const email = writable(); +export const phone = writable(); export const user = writable(); diff --git a/src/lib/upload.js b/src/lib/upload.js index d8b27061..099e2f30 100644 --- a/src/lib/upload.js +++ b/src/lib/upload.js @@ -1,5 +1,4 @@ export const upload = async (file, type, progress, token) => { - console.log('TYPE', type); let url = `/api/upload/${type}`; let formData = new FormData(); formData.append('file', file); |
