diff --git a/src/layout/index.tsx b/src/layout/index.tsx index 0060108..41b687a 100644 --- a/src/layout/index.tsx +++ b/src/layout/index.tsx @@ -23,7 +23,7 @@ const Layout = () => { console.error("Element with ID 'configs' not found"); } }, 100); // Scroll to 100% of the page height - }, [configs]); + }, [configs,dispatch]); return ( <>