diff --git a/src/components/dashboard/sidebar/organization-selector.tsx b/src/components/dashboard/sidebar/organization-selector.tsx index a85e905..af0bd6f 100644 --- a/src/components/dashboard/sidebar/organization-selector.tsx +++ b/src/components/dashboard/sidebar/organization-selector.tsx @@ -95,7 +95,7 @@ const OrganizationSelector = (): ReactElement => { - + diff --git a/src/components/dashboard/user/profile/tier-setting.tsx b/src/components/dashboard/user/profile/tier-setting.tsx index 4335591..1747c6e 100644 --- a/src/components/dashboard/user/profile/tier-setting.tsx +++ b/src/components/dashboard/user/profile/tier-setting.tsx @@ -33,7 +33,7 @@ const TierSetting = (): ReactElement => { {capitalizeWords(user?.tier)} - + ) : ( - { - if (open) { - setupTfa(); - } else if (enabledTfa) { - toast("Two-Factor Auth", { - icon: "🎉", - description: - "Successfully enabled two-factor auth on your account!", - }); - router.push("/dashboard"); - } - }} - > +