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.
2 parents e2cfc1c + 7ab54a8 commit 31bf1cdCopy full SHA for 31bf1cd
src/hooks/use-auth/use-auth-login/index.ts
@@ -75,6 +75,7 @@ export const useLogin = () => {
75
setIsAuthenticated(true);
76
77
const nextPath = normalizePath(searchParams.get('path'));
78
+ router.refresh();
79
router.replace(nextPath);
80
} catch (error) {
81
if (isCommonErrorResponse(error)) {
0 commit comments