hensei-web/public/images
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
..
labels Migrate to Next.js 2022-01-24 21:54:50 -08:00
placeholders June 2023 Update (#316) 2023-06-19 03:54:03 -07:00
previews Fix header not reflecting logged-in state after login 2025-09-03 16:01:46 -07:00
profile Fix header not reflecting logged-in state after login 2025-09-03 16:01:46 -07:00
about-hero.jpg February 2023 Update (#158) 2023-02-04 23:46:24 -08:00
background_a.jpg Create background_a.jpg 2022-04-04 23:42:33 -07:00
favicon.png February 2023 Update (#158) 2023-02-04 23:46:24 -08:00