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);