From 3ebb031803dd384b4639398c835db5bad0acba37 Mon Sep 17 00:00:00 2001 From: yude Date: Mon, 12 Feb 2024 14:28:13 +0900 Subject: [PATCH] Fix TS6133 error --- src/components/ContentRenderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ContentRenderer.tsx b/src/components/ContentRenderer.tsx index 2ff2abb..a6b9922 100644 --- a/src/components/ContentRenderer.tsx +++ b/src/components/ContentRenderer.tsx @@ -12,7 +12,7 @@ import { currentPage, Pages } from "./Menu" export default function ContentRenderer() { - const [page, setPage] = useRecoilState(currentPage); + const [page, _] = useRecoilState(currentPage); return ( <> { page === Pages.Profile && <> }