Skip to content

Commit

Permalink
fix(genshin): add "use client" in changelog view component
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaJi committed Nov 29, 2023
1 parent 709a0f8 commit 6e83299
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/[lang]/(genshin)/changelog/view.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use client";

import type { TCGCard } from "genshin-data";
import Link from "next/link";
import { useRouter } from "next/navigation";
Expand Down Expand Up @@ -29,7 +31,7 @@ export default function ChangelogVersion({
materialsMap,
foodMap,
tcgMap,
locale
locale,
}: Props) {
const router = useRouter();

Expand Down

1 comment on commit 6e83299

@vercel
Copy link

@vercel vercel bot commented on 6e83299 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.