From bac8a4f218d7e3a3bbed1d922b7a244c53dde3ea Mon Sep 17 00:00:00 2001 From: Martin Sosic Date: Fri, 7 Apr 2023 14:05:37 +0200 Subject: [PATCH] Fixed Login/Signup in TodoApp. --- .../tutorials/TodoApp/src/client/LoginPage.jsx | 16 +++++++++------- .../tutorials/TodoApp/src/client/SignupPage.jsx | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/examples/tutorials/TodoApp/src/client/LoginPage.jsx b/examples/tutorials/TodoApp/src/client/LoginPage.jsx index fbe42d6b4..f8c8f65c8 100644 --- a/examples/tutorials/TodoApp/src/client/LoginPage.jsx +++ b/examples/tutorials/TodoApp/src/client/LoginPage.jsx @@ -1,17 +1,19 @@ import { Link } from 'react-router-dom' -import LoginForm from '@wasp/auth/forms/Login' +import { LoginForm } from '@wasp/auth/forms/Login' const LoginPage = () => { return ( <> - -
- - I don't have an account yet (go to signup). - +
+ +
+ + I don't have an account yet (go to signup). + +
) } -export default LoginPage +export default LoginPage \ No newline at end of file diff --git a/examples/tutorials/TodoApp/src/client/SignupPage.jsx b/examples/tutorials/TodoApp/src/client/SignupPage.jsx index f06c2e75a..5e0d79005 100644 --- a/examples/tutorials/TodoApp/src/client/SignupPage.jsx +++ b/examples/tutorials/TodoApp/src/client/SignupPage.jsx @@ -1,17 +1,19 @@ import { Link } from 'react-router-dom' -import SignupForm from '@wasp/auth/forms/Signup' +import { SignupForm } from '@wasp/auth/forms/Signup' const SignupPage = () => { return ( <> - -
- - I already have an account (go to login). - +
+ +
+ + I already have an account (go to login). + +
) } -export default SignupPage +export default SignupPage \ No newline at end of file