diff --git a/frontend/src/routes/_oh.app/hooks/use-handle-runtime-active.ts b/frontend/src/routes/_oh.app/hooks/use-handle-runtime-active.ts index f789791e68ca..246d3794ad3a 100644 --- a/frontend/src/routes/_oh.app/hooks/use-handle-runtime-active.ts +++ b/frontend/src/routes/_oh.app/hooks/use-handle-runtime-active.ts @@ -1,23 +1,16 @@ import React from "react"; import toast from "react-hot-toast"; import { useDispatch, useSelector } from "react-redux"; -import { useAuth } from "#/context/auth-context"; -import { useWsClient } from "#/context/ws-client-provider"; import { setImportedProjectZip } from "#/state/initial-query-slice"; import { RootState } from "#/store"; import { base64ToBlob } from "#/utils/base64-to-blob"; import { useUploadFiles } from "../../../hooks/mutation/use-upload-files"; -import { useGitHubUser } from "../../../hooks/query/use-github-user"; import { RUNTIME_INACTIVE_STATES } from "#/types/agent-state"; export const useHandleRuntimeActive = () => { - useAuth(); - useWsClient(); - const dispatch = useDispatch(); - useGitHubUser(); const { mutate: uploadFiles } = useUploadFiles(); const { curAgentState } = useSelector((state: RootState) => state.agent);