I need to stop for the night.

This commit is contained in:
Scott Idem
2024-02-19 19:37:03 -05:00
parent 3403210efd
commit 5bb9134641
4 changed files with 66 additions and 48 deletions

View File

@@ -58,16 +58,17 @@ export let ae_app_local_data_struct: key_val = {
}
console.log(`Aether Config - App Local Storage Data:`, ae_app_local_data_struct);
// This does not work yet...
// This works, but does not uses local storage:
export let ae_loc = writable(ae_app_local_data_struct);
// This works and uses local storage:
// export let ae_loc: Writable<key_val> = localStorageStore('ae_loc', ae_app_local_data_struct);
// This does not work yet...? Don't use.
// const ae_loc_store: Writable<string> = localStorageStore('ae_loc', ae_app_local_data_struct);
// console.log(`store - $ae_loc:`, ae_loc_store);
// Testing:
export let ae_loc: Writable<key_val> = localStorageStore('ae_loc', ae_app_local_data_struct);
// This works:
// export let ae_loc = writable(ae_loc_store);
// *** BEGIN *** Temporary app data. This should be stored to session storage.
export let ae_app_session_data_struct: key_val = {