Skip to content

Commit

Permalink
Merge e41df33 into a4bffbe
Browse files Browse the repository at this point in the history
  • Loading branch information
BRKalow authored Dec 12, 2022
2 parents a4bffbe + e41df33 commit 45b4bde
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 227 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-readers-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'swingset': minor
---

Support Next 13 by adding `legacyBehavior` to `<Link>` usage.
2 changes: 1 addition & 1 deletion components/nav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function Nav({ navData }: { navData: NavItem[] }) {
const href = `${baseRoute}/${route.sourceType}/${route.slug}`
return (
<li key={route.name}>
<Link href={href}>
<Link href={href} legacyBehavior>
<a
className={classnames(
s.navItem,
Expand Down
Loading

0 comments on commit 45b4bde

Please sign in to comment.