Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
psiddharthdesign committed Jul 29, 2024
1 parent 9de9523 commit 05a371d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ export default function DashboardPage() {
>
{initialOrgRedirectMutation.isLoading && (
<motion.div
initial={{ scale: 0 }}
animate={{ scale: 1 }}
transition={{ duration: 0.5 }}
className="text-2xl font-bold"
className="text-2xl "
>
Loading your dashboard...
</motion.div>
Expand Down
4 changes: 4 additions & 0 deletions src/app/(dynamic-pages)/(login-pages)/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export function Login({
onError: (errorPayload) => {
console.error(errorPayload);
},
dismissOnSuccess: true,
});


Expand Down Expand Up @@ -82,6 +83,7 @@ export function Login({
}
},
successMessage: 'A magic link has been sent to your email!',
dismissOnSuccess: true,
onSuccess: () => {
setEmailSentSuccessMessage('A magic link has been sent to your email!');
},
Expand Down Expand Up @@ -109,6 +111,7 @@ export function Login({
}
},
successMessage: 'Logged in!',
dismissOnSuccess: true,
},
);
const providerMutation = useSAToastMutation(
Expand All @@ -122,6 +125,7 @@ export function Login({
onSuccess: (payload) => {
window.location.href = payload.data.url;
},
dismissOnSuccess: true,
},
);
return (
Expand Down

0 comments on commit 05a371d

Please sign in to comment.