Skip to content

Commit

Permalink
feat: rm 'pauseOnHover:false' from toast.success
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed May 12, 2023
1 parent 7f63867 commit 6a1b6c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pages/LoginPage/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ export const LoginForm = () => {
const onSubmit = async (credentials: LoginParams) => {
const { success } = await login(credentials);
if (success) {
toast.success("Welcome back!", {
toastId: "login-success",
pauseOnHover: false,
});
toast.success("Welcome back!", { toastId: "login-success" });
nav("/home");
}
};
Expand Down

0 comments on commit 6a1b6c8

Please sign in to comment.