We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4183a4e commit cb54a8aCopy full SHA for cb54a8a
site/components/SignIn/SignInForm.tsx
@@ -87,7 +87,7 @@ export const SignInForm: React.FC<SignInProps> = ({
87
try {
88
await loginHandler(email, password)
89
// Tell SWR to invalidate the cache for the user endpoint
90
- mutate("/api/v2/user")
+ await mutate("/api/v2/user")
91
router.push("/")
92
} catch (err) {
93
helpers.setFieldError("password", "The username or password is incorrect.")
0 commit comments