Change button to act as anchor

This commit is contained in:
regalijan 2023-10-19 16:49:16 -04:00
parent 11a9c9adde
commit f3fb370b6f
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -7,10 +7,7 @@ export default function () {
<VStack alignContent="center" gap="2vh">
<Heading>Log in to Car Crushers</Heading>
<br />
<Button
colorScheme="blue"
onClick={() => location.assign("/api/auth/oauth")}
>
<Button as="a" colorScheme="blue" href="/api/auth/oauth">
Log in with Discord
</Button>
</VStack>