Description
`components/layout/navbar.tsx` has no test coverage for active-link highlighting per route, the network/theme dropdown selection, or the network-mismatch banner (which should only appear when `isConnected && networkMismatch`).
Task
Add a test file covering: correct link is highlighted for the current route, theme/network dropdown selections update state as expected, and the network-mismatch banner only renders under the correct connected+mismatched condition.
Good for contributors because
Well-defined conditional rendering logic with a small number of states to cover, good introduction to the app's layout/navigation code.
Description
`components/layout/navbar.tsx` has no test coverage for active-link highlighting per route, the network/theme dropdown selection, or the network-mismatch banner (which should only appear when `isConnected && networkMismatch`).
Task
Add a test file covering: correct link is highlighted for the current route, theme/network dropdown selections update state as expected, and the network-mismatch banner only renders under the correct connected+mismatched condition.
Good for contributors because
Well-defined conditional rendering logic with a small number of states to cover, good introduction to the app's layout/navigation code.