Skip to content

Commit 504cc4b

Browse files
committed
feat: back button
1 parent d6e9900 commit 504cc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function Header() {
5353
<button
5454
className="group flex items-center rounded-full px-4 py-2 text-sm font-medium shadow-lg shadow-zinc-800/5 ring-1 backdrop-blur bg-zinc-850/10 text-zinc-200 ring-white/10 hover:ring-white/20"
5555
type="button"
56-
onClick={router.back}
56+
onClick={() => router.push('/')}
5757
>
5858
<svg
5959
viewBox="0 0 8 6"

0 commit comments

Comments
 (0)