Skip to content

Commit

Permalink
fix type warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent550102 committed Feb 27, 2024
1 parent a46609f commit f63b950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(game)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
const [isClient, setIsClient] = useState(false);
const token = useReadLocalStorage("token");
const token: string | null = useReadLocalStorage("token");
useEffect(() => {
setIsClient(true);
}, []);
Expand Down

0 comments on commit f63b950

Please sign in to comment.