hensei-web/public
Justin Edmund 9b60134933 Fix header not reflecting logged-in state after login
- Add useSnapshot from Valtio to make Header reactive to state changes
- Replace accountState references with accountSnap for reactive updates
- Add missing router import for navigation methods
- Fix router.reload() to router.refresh() for Next.js 13+
- Create AccountStateInitializer component to load auth from cookies
- Add initializer to root layout to ensure state is set on page load

The header now properly updates to show user avatar and authenticated menu when logging in.

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-03 16:01:46 -07:00
..
icons Small fixes 2023-09-09 17:44:49 -07:00
images Fix header not reflecting logged-in state after login 2025-09-03 16:01:46 -07:00
labels Update WeaponLabelIndicator and icons 2022-03-06 02:10:46 -08:00
locales Fix updates page translation errors and data fetching 2025-09-03 16:00:17 -07:00
profile Add Lucilius profile picture for salem (#401) 2024-01-08 04:47:13 -08:00
scss Renamed grey-10 to grey-40 2022-02-26 19:51:22 -08:00