Change button to act as anchor
This commit is contained in:
parent
11a9c9adde
commit
f3fb370b6f
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user