fix(sessions): add defensive null checks for dates to prevent crashes

- Add null validation in SessionsTable, SessionInfo, SessionActivity, and DateDistance
- Log missing date fields in development mode only
- Display '—' placeholder when dates are null instead of crashing
- Addresses RangeError: Invalid time value on Sessions tab
This commit is contained in:
Arthur Sepiol 2025-11-14 13:15:36 +03:00
parent 7ac5913c86
commit ffd6fd666c
5 changed files with 49 additions and 5 deletions

2
pnpm-lock.yaml generated
View file

@ -364,8 +364,6 @@ importers:
specifier: ^5.9.3
version: 5.9.3
dist: {}
packages:
'@ampproject/remapping@2.3.0':