Fixed a bug in the App.jsx
This commit is contained in:
parent
e0d0a9d0d2
commit
15c81f01bc
@ -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 (
|
||||||
|
Reference in New Issue
Block a user