Commit 2083559 1 parent 71046d5 commit 2083559 Copy full SHA for 2083559
File tree 1 file changed +22
-14
lines changed
apps/resplice/src/modules/invite/components
1 file changed +22
-14
lines changed Original file line number Diff line number Diff line change 28
28
}
29
29
}
30
30
31
+ // async function onGoogleProviderClick() {
32
+ // try {
33
+ // isGoogleLoading = true
34
+ // const contacts = await getGoogleContacts()
35
+ // dispatch('import', contacts)
36
+ // isGoogleLoading = false
37
+ // } catch (e) {
38
+ // isGoogleLoading = false
39
+ // toast.new({
40
+ // type: toast.type.WARNING,
41
+ // title: 'Import Error',
42
+ // message: 'Could not import contacts from Google. Please try again.'
43
+ // })
44
+ // console.error(e)
45
+ // }
46
+ // }
31
47
async function onGoogleProviderClick() {
32
- try {
33
- isGoogleLoading = true
34
- const contacts = await getGoogleContacts ()
35
- dispatch (' import' , contacts )
36
- isGoogleLoading = false
37
- } catch (e ) {
38
- isGoogleLoading = false
39
- toast .new ({
40
- type: toast .type .WARNING ,
41
- title: ' Import Error' ,
42
- message: ' Could not import contacts from Google. Please try again.'
43
- })
44
- console .error (e )
45
- }
48
+ toast .new ({
49
+ type: toast .type .SUCCESS ,
50
+ title: ' Coming Soon' ,
51
+ message:
52
+ ' We are currently working on this feature but it will be coming soon! Please check back later.'
53
+ })
46
54
}
47
55
</script >
48
56
You can’t perform that action at this time.
0 commit comments