Skip to content

Commit

Permalink
Fix double notification issue in Staff Login
Browse files Browse the repository at this point in the history
  • Loading branch information
rajku-dev committed Feb 7, 2025
1 parent 267622a commit 4b2f0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Login = (props: LoginProps) => {
const staffLoginMutation = useMutation({
mutationFn: async (data: LoginFormData) => {
FiltersCache.invaldiateAll();
return await signIn(data);
signIn(data);
},
onError: (error) => {
setCaptcha(error.status == 429);
Expand Down

0 comments on commit 4b2f0cb

Please sign in to comment.