store user login

This commit is contained in:
2026-08-25 18:00:16 +05:30
parent 1dc582ba07
commit 517a99d577
62 changed files with 8059 additions and 650 deletions

View File

@@ -52,7 +52,7 @@ export function share(part: number | undefined, total: number | undefined): numb
}
export const percent = (value: number | null): string =>
value === null ? '—' : `${(value * 100).toFixed(value < 0.1 ? 1 : 0)}%`;
value === null ? '—' : value === 0 ? '0%' : `${(value * 100).toFixed(value < 0.1 ? 1 : 0)}%`;
/** A short local time — "14:32". Used on bills and last-sync stamps. */
export const clock = (date: Date | null): string =>