Last round of prettier: npx prettier --write src/
This commit is contained in:
@@ -148,7 +148,8 @@ const ae_app_local_data_defaults: key_val = {
|
||||
theme_mode: 'light',
|
||||
theme_name: 'wintry', // wintry
|
||||
|
||||
classes__form: 'border border-surface-200 p-4 space-y-4 rounded-container',
|
||||
classes__form:
|
||||
'border border-surface-200 p-4 space-y-4 rounded-container',
|
||||
|
||||
qr: {}
|
||||
},
|
||||
@@ -204,7 +205,10 @@ const ae_app_local_data_defaults: key_val = {
|
||||
}
|
||||
};
|
||||
|
||||
export const ae_loc: Writable<key_val> = persisted('ae_loc', ae_app_local_data_defaults);
|
||||
export const ae_loc: Writable<key_val> = persisted(
|
||||
'ae_loc',
|
||||
ae_app_local_data_defaults
|
||||
);
|
||||
|
||||
// *** BEGIN *** Temporary app data. This should be stored to session storage.
|
||||
const ae_app_session_data_defaults: key_val = {
|
||||
@@ -365,7 +369,10 @@ export const slct_trigger: any = writable(null);
|
||||
|
||||
// Auth error signal — set by API helpers on 401/403 to trigger the session-expired banner in the root layout.
|
||||
// Only set from browser context (never SSR). 'expired' covers both 401 and 403 responses.
|
||||
export const ae_auth_error = writable<{ type: 'expired' | null; ts: number | null }>({ type: null, ts: null });
|
||||
export const ae_auth_error = writable<{
|
||||
type: 'expired' | null;
|
||||
ts: number | null;
|
||||
}>({ type: null, ts: null });
|
||||
|
||||
// Reactive clock — updates every second. Used for live countdown and elapsed-time displays.
|
||||
export const time = readable(new Date(), function start(set) {
|
||||
|
||||
Reference in New Issue
Block a user