diff --git a/frontend/src/hooks/useConfigList.ts b/frontend/src/hooks/useConfigList.ts index 0be896f2..3714e0ca 100644 --- a/frontend/src/hooks/useConfigList.ts +++ b/frontend/src/hooks/useConfigList.ts @@ -112,7 +112,7 @@ export function useConfigList(): ConfigListProps { method: "DELETE", }); setConfigs( - (configs?.filter((config) => config.assistant_id !== assistantId)) || [] + configs?.filter((config) => config.assistant_id !== assistantId) || [], ); }, [configs],