diff --git a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx index db7e810eb7..b4a37b0865 100644 --- a/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx +++ b/libs/remix-ui/settings/src/lib/remix-ui-settings.tsx @@ -161,7 +161,7 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { } } - useEffect(() => { + useEffect(()=>{ if (props.useCopilot !== null) copilotActivate(props.config, props.useCopilot, dispatch) onchangeCopilotActivate() }, [props.useCopilot])