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">
|
<VStack alignContent="center" gap="2vh">
|
||||||
<Heading>Log in to Car Crushers</Heading>
|
<Heading>Log in to Car Crushers</Heading>
|
||||||
<br />
|
<br />
|
||||||
<Button
|
<Button as="a" colorScheme="blue" href="/api/auth/oauth">
|
||||||
colorScheme="blue"
|
|
||||||
onClick={() => location.assign("/api/auth/oauth")}
|
|
||||||
>
|
|
||||||
Log in with Discord
|
Log in with Discord
|
||||||
</Button>
|
</Button>
|
||||||
</VStack>
|
</VStack>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user