= ({
if (debouncedSearchInput) {
setActiveTab(MODS_PAGE_TABS.all);
}
- }, [globalFilter, debouncedSearchInput, setActiveTab, setGlobalFilter]);
+ }, [
+ globalFilter,
+ debouncedSearchInput,
+ setActiveTab,
+ setSearchQuery,
+ setGlobalFilter,
+ ]);
return (
diff --git a/applications/browser-extension/src/extensionConsole/pages/mods/gridView/GridView.tsx b/applications/browser-extension/src/extensionConsole/pages/mods/gridView/GridView.tsx
index 5f207ee16d..6db20d9fa3 100644
--- a/applications/browser-extension/src/extensionConsole/pages/mods/gridView/GridView.tsx
+++ b/applications/browser-extension/src/extensionConsole/pages/mods/gridView/GridView.tsx
@@ -114,7 +114,7 @@ const GridView: React.VoidFunctionComponent = ({
// Re-render the list when expandedRows changes.
useEffect(() => {
listRef.current?.resetAfterIndex(0);
- }, [expandedGridRows, columnCount]);
+ }, [listRef, expandedGridRows, columnCount]);
const GridRow = useCallback(
({
diff --git a/applications/browser-extension/src/pageEditor/documentBuilder/preview/ElementPreview.tsx b/applications/browser-extension/src/pageEditor/documentBuilder/preview/ElementPreview.tsx
index be434711f9..d525335cf2 100644
--- a/applications/browser-extension/src/pageEditor/documentBuilder/preview/ElementPreview.tsx
+++ b/applications/browser-extension/src/pageEditor/documentBuilder/preview/ElementPreview.tsx
@@ -111,7 +111,7 @@ const useScrollIntoViewEffect = (elementName: string, isActive: boolean) => {
scrollIntoView,
);
};
- }, []);
+ }, [elementName, isActive]);
return elementRef;
};