diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
| commit | 14bbc483fdb338c8e55e77f267ecf0d51415549b (patch) | |
| tree | 6e9130c2c1f76da25c825090bb59220ecf60d971 /frontend/src/routes/Login.tsx | |
| parent | d3107cdf9bafbebc4a9cdd6ab91869f8086b3246 (diff) | |
| download | iosdc-japan-2024-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.gz iosdc-japan-2024-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.zst iosdc-japan-2024-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.zip | |
prettier
Diffstat (limited to 'frontend/src/routes/Login.tsx')
| -rw-r--r-- | frontend/src/routes/Login.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/frontend/src/routes/Login.tsx b/frontend/src/routes/Login.tsx index f3fa00e..4871060 100644 --- a/frontend/src/routes/Login.tsx +++ b/frontend/src/routes/Login.tsx @@ -4,9 +4,7 @@ export default function Login() { return ( <div> <h1>Albatross.swift</h1> - <h2> - Login - </h2> + <h2>Login</h2> <Form method="post"> <label>Username</label> <input type="text" name="username" /> @@ -16,7 +14,7 @@ export default function Login() { </Form> </div> ); -}; +} export async function loginAction({ request }: ActionFunctionArgs) { const formData = await request.formData(); @@ -35,4 +33,4 @@ export async function loginAction({ request }: ActionFunctionArgs) { } const { userId } = await res.json(); return redirect(`/users/${userId}/`); -}; +} |
