Fix setState in useEffect in Navbar #25

Closed
opened 2026-05-11 06:21:47 +00:00 by Mark · 0 comments
Owner

src/components/Navbar.tsx:26 calls setMobileOpen(false) inside a useEffect triggered by location.pathname. Refactor to use derived state or a more targeted approach.

src/components/Navbar.tsx:26 calls setMobileOpen(false) inside a useEffect triggered by location.pathname. Refactor to use derived state or a more targeted approach.
Mark closed this issue 2026-05-11 13:33:05 +00:00
Sign in to join this conversation.
No description provided.