feat: add default page option

This commit is contained in:
sethburkart123
2024-06-24 11:09:44 +10:00
parent 188759b59d
commit dc11997b96
11 changed files with 53 additions and 50 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ class StorageManager {
return Reflect.get(target.data, prop);
},
set: (target, prop: keyof SettingsState, value) => {
Reflect.set(target, prop, value);
console.log(target)
Reflect.set(target.data, prop, value);
target.saveToStorage();
return true;
},