Fixed a bug in the App.jsx
This commit is contained in:
@ -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