refac: save only to db

This commit is contained in:
Timothy J. Baek committed 2024-05-26 22:52:29 -07:00
1 parent ee913cb6e8
commit f2285f29b7
3 files changed
-6

No files matched your search

-2
View File
@@ -184,9 +184,7 @@
const saveSettings = async (updated) => {
await settings.set({ ...$settings, ...updated });
localStorage.setItem('settings', JSON.stringify($settings));
await updateUserSettings(localStorage.token, { ui: $settings });
location.href = '/';
};