Improve this

This commit is contained in:
2026-02-01 16:53:31 -07:00
parent 14763f72f6
commit af6c09b7b3

View File

@@ -7,6 +7,7 @@ import { HomeButton } from '@/app/components/HomeButton'
import { DiscordButton } from '@/app/components/DiscordButton'
import axios from 'axios'
import Link from 'next/link'
import { BackButton } from '@/app/components/BackButton'
function AccountLoginForm ({ redirect }: { redirect: string | null }) {
const [loading, setLoading] = useState<boolean>(true)
@@ -29,7 +30,7 @@ function AccountLoginForm ({ redirect }: { redirect: string | null }) {
return (
<div className='box'>
<HomeButton />
{alreadyLoggedIn ? <BackButton href='/account' /> : <HomeButton />}
<DiscordButton />
<p className={`px-8 ${loading ? '-my-2' : 'mb-4 -mt-2'} text-center`}>
{loading