Skip to content

Commit

Permalink
fix(header): add replace attribute to link
Browse files Browse the repository at this point in the history
  • Loading branch information
dninomiya committed Apr 8, 2024
1 parent 18eef76 commit 631f442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Header() {
</Suspense>
</div>
<Button asChild variant="ghost" className="font-semibold text-lg gap-2">
<Link href="/">
<Link href="/" replace>
<PocketKnife size={18} />
{AppConfig.title}
</Link>
Expand Down

0 comments on commit 631f442

Please sign in to comment.