Fixed a bug in the App.jsx

This commit is contained in:
Mathias Wagner 2023-06-03 01:35:30 +02:00
parent e0d0a9d0d2
commit 15c81f01bc
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -14,6 +14,7 @@ const App = () => {
useEffect(() => { useEffect(() => {
document.documentElement.style.setProperty("--primary", primaryColor); document.documentElement.style.setProperty("--primary", primaryColor);
localStorage.setItem("primary-color", primaryColor);
}, [primaryColor]); }, [primaryColor]);
return ( return (