function toggleTheme() { if (localStorage.getItem("theme") === "light") { setTheme("dark"); return; } setTheme("light"); }