diff --git a/libs/client/features/src/onboarding/steps/CountryWaitlist.tsx b/libs/client/features/src/onboarding/steps/CountryWaitlist.tsx deleted file mode 100644 index ebbca2fe..00000000 --- a/libs/client/features/src/onboarding/steps/CountryWaitlist.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import Link from 'next/link' -import { useUserApi } from '@maybe-finance/client/shared' -import { Button } from '@maybe-finance/design-system' -import toast from 'react-hot-toast' -import { signOut } from 'next-auth/react' - -export function CountryWaitlist({ country }: { country?: string }) { - const { useDelete } = useUserApi() - - const deleteUser = useDelete({ - onSuccess() { - toast.success(`Account deleted`) - setTimeout(() => signOut(), 500) - }, - onError() { - toast.error(`Error deleting account`) - }, - }) - - return ( -
We hate doing this, but for now we’re only accepting users from the US. Why?
-- Well besides not being able to automatically connect to your institution, our - financial advisors wouldn’t be able to give you relevant localized advice and - would likely breach some regulations. -
-- That being said, we do plan on expanding Maybe to other countries soon. So we’ll - let you know via email once we launch Maybe in {country || 'your country'}. -
-@@ -216,13 +212,7 @@ function ProfileForm({ title, onSubmit, defaultValues }: ProfileViewProps) { label="Where are you based?" onClick={() => setCurrentQuestion('residence')} back={() => setCurrentQuestion('household')} - next={() => { - if (country === 'US') { - setCurrentQuestion('goals') - } else { - setShowCountryWaitlist(true) - } - }} + next={() => setCurrentQuestion('goals')} >