Skip to content

Commit

Permalink
Remove unnecessary useEffect dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed May 22, 2024
1 parent 891581c commit 3271e19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const EnterpriseSearchAnalyticsPageTemplate: React.FC<
return () => {
updateSideNavDefinition({ collections: undefined });
};
}, [navItems, updateSideNavDefinition]);
}, [updateSideNavDefinition]);

return (
<EnterpriseSearchPageTemplateWrapper
Expand Down

0 comments on commit 3271e19

Please sign in to comment.