hensei-web/src/lib
Justin Edmund bbaa5bf221 fix: add null/undefined guards for array access and navigation
- MasteryDisplay.svelte: Use optional chaining for split()[0] array access
  - formatRingStat().split('+')[0] -> split('+')[0]?.trim() ?? ''
  - formatEarringStat().split('+')[0] -> split('+')[0]?.trim() ?? ''
- TeamView.svelte: Same fix for formatAxSkill().split('+')[0]
- +layout.svelte: Add null guards for 'to' parameter and 'mainContent' in callback
  - Check !to before accessing to.url
  - Re-check !mainContent inside requestAnimationFrame callback

Fixes "Object is possibly 'undefined'" and "is possibly 'null'" errors with
noUncheckedIndexedAccess: true and strict null checks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 18:15:09 -08:00
..
api fix: correct function call argument counts 2025-11-28 18:09:05 -08:00
assets Init Svelte migration repo 2025-09-08 13:43:09 -07:00
auth Low-risk cleanup: unused imports, gitignore, auth types, test routes (#439) 2025-11-28 11:21:24 -08:00
components fix: add null/undefined guards for array access and navigation 2025-11-28 18:15:09 -08:00
composables feat: add grid API endpoints and drag-drop support 2025-09-17 10:46:49 -07:00
data add job system 2025-09-29 23:45:50 -07:00
features fix: type errors cleanup (161 -> 130 errors) 2025-11-28 21:58:11 +00:00
providers fix: add type annotations for implicit any parameters 2025-11-28 18:07:34 -08:00
query add tanstack query with infinite scroll support 2025-11-28 11:00:57 -08:00
services fix: correct function call argument counts 2025-11-28 18:09:05 -08:00
stores fix: sidebar.svelte.ts Component type to accept any props (166 -> 163 errors) 2025-11-28 21:17:55 +00:00
types fix: consolidate WeaponKey type definition 2025-11-28 18:05:46 -08:00
utils fix: consolidate WeaponKey type definition 2025-11-28 18:05:46 -08:00
validation Fix zod validation for login 2025-09-11 10:47:12 -07:00
config.ts Re-export OAUTH_BASE from env var 2025-09-09 03:20:27 -07:00
index.ts Init Svelte migration repo 2025-09-08 13:43:09 -07:00
seo.ts Rudimentary import for SEO 2025-09-09 03:20:38 -07:00