From f94a0ed5a7e5a1d0aea7e17917ccf5b315f2ff49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Tetsing?= Date: Wed, 6 Mar 2024 15:21:29 +0100 Subject: [PATCH] minor arrangement --- libs/remix-ui/settings/src/lib/remix-ui-settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])