Skip to content

Commit

Permalink
fix: use Button as Link (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelvanbever authored Mar 13, 2024
1 parent 7f7e370 commit 6fd4296
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,13 @@ export default function Index() {
.split(' ')
.map(word => ({ text: word, className: '!text-white' }))}
/>
<Button>
<Link to="/docs/main" unstable_viewTransition className="text-white">
Get Started
</Link>
<Button
as={Link}
to="/docs/main"
className="text-white"
unstable_viewTransition
>
Get Started
</Button>
</div>
</div>
Expand Down

0 comments on commit 6fd4296

Please sign in to comment.