"use client"; import { useUserStore } from "@/app/store/user-store"; import { useSettingsStore } from "@/app/store/settings-store"; function deleteAllSettings() { localStorage.removeItem("mode"); localStorage.removeItem("theme"); localStorage.removeItem("settings"); } function deleteSearchHistory() { localStorage.removeItem("searches"); } export default function Settings(props) { const userStore = useUserStore(); const settingsStore = useSettingsStore(); return ( <>
Настройки
{userStore.isAuth && ( <>
  • )}
    ); }