mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-03 10:03:47 +00:00
fix dependency array
This commit is contained in:
parent
71a0fa1064
commit
ea069728b2
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ export const DocsLinks: FC<Props> = ({ navLinks, toggleMobileAccordion }) => {
|
|||
{}
|
||||
)
|
||||
);
|
||||
}, [asPath]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||
}, [asPath, navLinks]);
|
||||
return (
|
||||
<Stack border='2px' borderColor='primary'>
|
||||
{navLinks.map(({ id, to, items }, idx) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue