fix: use JS doc comment in sessionDuration.ts
Python-style triple quotes broke the Vite production build.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
"""Human-readable session_duration_sec for event tables."""
|
/** Human-readable session_duration_sec for event tables. */
|
||||||
|
|
||||||
export function formatSessionDuration(seconds: number | null | undefined): string {
|
export function formatSessionDuration(seconds: number | null | undefined): string {
|
||||||
if (seconds == null || !Number.isFinite(seconds) || seconds < 0) {
|
if (seconds == null || !Number.isFinite(seconds) || seconds < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user