the-tip-top-frontend/app/mes-lots/debug
soufiane 1e6a4a0f6e fix: prevent localStorage access during SSR in debug page
Add useEffect hook to check for auth token in localStorage only on client-side, preventing "localStorage is not defined" error during static page generation. Use state variable hasToken to display token presence in the UI.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 02:07:10 +01:00
..
page.tsx fix: prevent localStorage access during SSR in debug page 2025-11-18 02:07:10 +01:00