Skip to content

Commit

Permalink
fix: redirect to user main
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Jul 21, 2023
1 parent 8d2d9d3 commit 4f0cb99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auth/views/AuthVerify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function AuthVerify() {
variant="h5"
component={RouterLink}
sx={{ textAlign: "center" }}
to="/"
to="/user/main"
replace
>
Not automatically redirected? Click this link to go to the
Expand Down
2 changes: 1 addition & 1 deletion src/auth/views/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Login() {

const { signIn, loading, error } = useSignIn({
onSuccess() {
history.replace("/");
history.replace("/user/main");
},
});

Expand Down

0 comments on commit 4f0cb99

Please sign in to comment.