From 15ab9bdd578ea4d44b8b4589799b281e5aac8118 Mon Sep 17 00:00:00 2001 From: nazo6 Date: Fri, 23 Aug 2024 21:32:22 +0900 Subject: [PATCH] fix(rrp-web): fix theme selector --- rrp-web/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrp-web/src/App.tsx b/rrp-web/src/App.tsx index 7d650f59..b1693841 100644 --- a/rrp-web/src/App.tsx +++ b/rrp-web/src/App.tsx @@ -28,7 +28,7 @@ export function Providers() { : theme; useEffect(() => { - localStorage.setItem("theme", themeResolved); + localStorage.setItem("theme", theme); }, [theme]); useEffect(() => {