Skip to content

Commit 2083559

Browse files
committed
chore: disable google import for now
1 parent 71046d5 commit 2083559

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

apps/resplice/src/modules/invite/components/ContactProviders.svelte

+22-14
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,29 @@
2828
}
2929
}
3030
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+
// }
3147
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+
})
4654
}
4755
</script>
4856

0 commit comments

Comments
 (0)