Fixed a bug in the App.jsx
This commit is contained in:
parent
e0d0a9d0d2
commit
15c81f01bc
@ -14,6 +14,7 @@ const App = () => {
|
||||
|
||||
useEffect(() => {
|
||||
document.documentElement.style.setProperty("--primary", primaryColor);
|
||||
localStorage.setItem("primary-color", primaryColor);
|
||||
}, [primaryColor]);
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user