From 021afb43b629879d2bc7a2f2225ca72af68ed740 Mon Sep 17 00:00:00 2001 From: Matvey Kukuy Date: Sun, 24 Nov 2024 19:53:44 +0200 Subject: [PATCH] Fix --- keep-ui/app/(keep)/ai/ai.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keep-ui/app/(keep)/ai/ai.tsx b/keep-ui/app/(keep)/ai/ai.tsx index a4f75482c..48b8a07e7 100644 --- a/keep-ui/app/(keep)/ai/ai.tsx +++ b/keep-ui/app/(keep)/ai/ai.tsx @@ -17,7 +17,7 @@ export default function Ai() { const [animate, setAnimate] = useState(false); const onlyOnce = useRef(false); const apiUrl = useApiUrl(); - const configData = useConfig(); + const { data: configData} = useConfig(); const mutateAILogs = (logs: AILogs) => { setBasicAlgorithmLog(logs.log);