From 75ff80087b8a7c420dd2486eb40aad45fb9b638d Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Sun, 28 Apr 2024 01:20:23 +0500 Subject: [PATCH] update todo.md. --- TODO.md | 4 ---- frontend/app/components/Settings/Settings.jsx | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 1e43e34..9ffaace 100644 --- a/TODO.md +++ b/TODO.md @@ -8,10 +8,6 @@ - [ ] Комментарии? - [ ] ... -## Настройки - -- [ ] Изменение сохранения как просмотренное - ## Идеи - Изменение вида списка релизов diff --git a/frontend/app/components/Settings/Settings.jsx b/frontend/app/components/Settings/Settings.jsx index 5c19989..b56e6a7 100644 --- a/frontend/app/components/Settings/Settings.jsx +++ b/frontend/app/components/Settings/Settings.jsx @@ -6,6 +6,7 @@ import { useSettingsStore } from "@/app/store/settings-store"; function deleteAllSettings() { localStorage.removeItem("mode"); localStorage.removeItem("theme"); + localStorage.removeItem("settings"); } function deleteSearchHistory() {