fix: remove old import

This commit is contained in:
Boris Arzentar 2025-11-13 15:03:57 +01:00
parent fa450fa727
commit 698d8323a9
No known key found for this signature in database
GPG key ID: D5CC274C784807B7

View file

@ -1,7 +1,7 @@
import classNames from "classnames"; import classNames from "classnames";
import { useCallback, useEffect } from "react"; import { useCallback, useEffect } from "react";
import { fetch, isCloudApiKeySet, isCloudEnvironment, useBoolean } from "@/utils"; import { fetch, isCloudEnvironment, useBoolean } from "@/utils";
import { checkCloudConnection } from "@/modules/cloud"; import { checkCloudConnection } from "@/modules/cloud";
import { CaretIcon, CloseIcon, CloudIcon, LocalCogneeIcon } from "@/ui/Icons"; import { CaretIcon, CloseIcon, CloudIcon, LocalCogneeIcon } from "@/ui/Icons";
import { CTAButton, GhostButton, IconButton, Input, Modal } from "@/ui/elements"; import { CTAButton, GhostButton, IconButton, Input, Modal } from "@/ui/elements";
@ -21,7 +21,7 @@ export default function InstanceDatasetsAccordion({ searchValue, onDatasetsChang
const { const {
value: isCloudCogneeConnected, value: isCloudCogneeConnected,
setTrue: setCloudCogneeConnected, setTrue: setCloudCogneeConnected,
} = useBoolean(isCloudEnvironment() || isCloudApiKeySet()); } = useBoolean(isCloudEnvironment());
const checkConnectionToCloudCognee = useCallback((apiKey?: string) => { const checkConnectionToCloudCognee = useCallback((apiKey?: string) => {
if (apiKey) { if (apiKey) {