Skip to content

Commit 55ce59f

Browse files
committed
chore: Lint fixes
1 parent afe091b commit 55ce59f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/layout/docs-layout-client.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export function DocsLayoutClient({ children }: DocsLayoutClientProps) {
3030
// reading it during render would cause a hydration mismatch on shared paths
3131
// (e.g. /relayer/*) where the active ecosystem is only known on the client.
3232
const [lastEcosystem, setLastEcosystem] = useState<string | null>(null);
33+
// biome-ignore lint/correctness/useExhaustiveDependencies: re-read sessionStorage when pathname changes
3334
useEffect(() => {
3435
setLastEcosystem(sessionStorage.getItem("lastEcosystem"));
3536
}, [pathname]);

0 commit comments

Comments
 (0)