mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 18:33:01 +00:00
app -> issues
This commit is contained in:
@@ -11,7 +11,7 @@ export default function Login() {
|
||||
|
||||
useEffect(() => {
|
||||
if (!isLoading && user) {
|
||||
const next = searchParams.get("next") || "/app";
|
||||
const next = searchParams.get("next") || "/issues";
|
||||
navigate(next, { replace: true });
|
||||
}
|
||||
}, [user, isLoading, navigate, searchParams]);
|
||||
|
||||
Reference in New Issue
Block a user