Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change button to act as anchor
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 11a9c9a commit f3fb370
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/Login.tsx
Expand Up @@ -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>
Expand Down

0 comments on commit f3fb370

Please sign in to comment.