fix(ui): centralize default layout width and update default setting

This commit is contained in:
henrygd
2026-03-16 15:23:32 -04:00
parent ed50367f70
commit 2854ce882f
3 changed files with 14 additions and 4 deletions

View File

@@ -3,6 +3,9 @@ import type { AlertMap, ChartTimes, SystemRecord, UserSettings } from "@/types"
import { pb } from "./api"
import { Unit } from "./enums"
/** Default layout width. Used as fallback when user setting is unset. */
export const defaultLayoutWidth = 1580
/** Store if user is authenticated */
export const $authenticated = atom(pb.authStore.isValid)