diff --git a/src/routes/reg/SignInLink.tsx b/src/routes/reg/SignInLink.tsx index 6af02144..ba523084 100644 --- a/src/routes/reg/SignInLink.tsx +++ b/src/routes/reg/SignInLink.tsx @@ -1,5 +1,4 @@ import styled from "styled-components"; -import { useNavigate } from "react-router-dom"; const StyledSignInLink = styled.p` text-align: center; @@ -22,9 +21,8 @@ const StyledSignInLink = styled.p` `; export default function SignInLink() { - const navigate = useNavigate(); const handleSignIn = () => { - navigate("/login"); + location.href = "/#/login"; }; return (