Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

fix: Add ESLint disable comment for exhaustive-deps in RootLayout component

Salman-Ahamedcc5f0f0e3c1c
diff --git a/packages/app/src/react/shared/components/layouts/RootLayout.tsx b/packages/app/src/react/shared/components/layouts/RootLayout.tsx
index 2f7001f8..30cf8e37 100644
--- a/packages/app/src/react/shared/components/layouts/RootLayout.tsx
+++ b/packages/app/src/react/shared/components/layouts/RootLayout.tsx
@@ -110,7 +110,7 @@ export const RootLayout = ({
return () => {
window.removeEventListener('resize', checkForScrollbar);
};
- }, []);
+ }, []); // eslint-disable-line react-hooks/exhaustive-deps
return (
<div className={classNames('flex flex-col h-screen overflow-hidden')}>