Skip to content

Commit

Permalink
fix: link href for Default style
Browse files Browse the repository at this point in the history
  • Loading branch information
ruru-m07 committed Apr 18, 2024
1 parent 9aaaf42 commit 9ee346d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/www/app/(app)/sink/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Link from "next/link"

import { ThemeWrapper } from "@/components/theme-wrapper"
import { styles } from "@/registry/styles"

interface SinkLayoutProps {
children: React.ReactNode
Expand All @@ -12,11 +11,12 @@ export default function SinkLayout({ children }: SinkLayoutProps) {
<div className="flex flex-col">
<div className="container">
<div className="flex space-x-2 px-2 py-4">
{styles.map((style) => (
<Link href={`/sink/${style.name}`} key={style.name}>
{style.label}
</Link>
))}
<Link href={`/sink`} key={"default"}>
Default
</Link>
<Link href={`/sink/new-york`} key={"new-york"}>
New York
</Link>
</div>
</div>
<div className="flex-1">
Expand Down

0 comments on commit 9ee346d

Please sign in to comment.