diff --git a/client/src/routes/login.tsx b/client/src/routes/login.tsx
index 03990e0..87742f7 100644
--- a/client/src/routes/login.tsx
+++ b/client/src/routes/login.tsx
@@ -14,6 +14,10 @@ const Login = ({ mode }) => {
const [error, setError] = useState('');
+ function gotoRegister() {
+ return route('/register');
+ }
+
async function postLogin(email, password) {
const [error, user] = await http.postLogin(email, password);
if (error) return setError(error);
@@ -92,6 +96,7 @@ const Login = ({ mode }) => {
+
);
};