mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Remove unused imports
This commit is contained in:
@@ -40,7 +40,6 @@ import { CustomEdge } from "./CustomEdge";
|
||||
import ConnectionLine from "./ConnectionLine";
|
||||
import { Control, ControlPanel } from "@/components/edit/control/ControlPanel";
|
||||
import { SaveControl } from "@/components/edit/control/SaveControl";
|
||||
import { BlocksControl } from "@/components/edit/control/BlocksControl";
|
||||
import { IconUndo2, IconRedo2 } from "@/components/ui/icons";
|
||||
import { startTutorial } from "./tutorial";
|
||||
import useAgentGraph from "@/hooks/useAgentGraph";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { Fragment } from "react";
|
||||
import React from "react";
|
||||
import { BlocksList } from "./BlocksList";
|
||||
import { Block } from "../Block";
|
||||
import { BlockRequest } from "@/lib/autogpt-server-api";
|
||||
|
||||
@@ -21,6 +21,7 @@ export const AiBlock: React.FC<Props> = ({
|
||||
className={cn(
|
||||
"group flex h-[5.625rem] w-full min-w-[7.5rem] items-center justify-start space-x-3 whitespace-normal rounded-[0.75rem] bg-zinc-50 px-[0.875rem] py-[0.625rem] text-start shadow-none",
|
||||
"hover:bg-zinc-100 focus:ring-0 active:bg-zinc-100 active:ring-1 active:ring-zinc-300 disabled:pointer-events-none",
|
||||
className,
|
||||
)}
|
||||
{...rest}
|
||||
>
|
||||
|
||||
@@ -10,11 +10,6 @@ import { Button } from "@/components/ui/button";
|
||||
import { GraphMeta } from "@/lib/autogpt-server-api";
|
||||
import { Label } from "@/components/ui/label";
|
||||
import { IconSave } from "@/components/ui/icons";
|
||||
import {
|
||||
Tooltip,
|
||||
TooltipContent,
|
||||
TooltipTrigger,
|
||||
} from "@/components/ui/tooltip";
|
||||
import { useToast } from "@/components/ui/use-toast";
|
||||
import { ControlPanelButton } from "@/components/builder/block-menu/ControlPanelButton";
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
||||
import { CheckIcon } from "@radix-ui/react-icons";
|
||||
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Check } from "lucide-react";
|
||||
|
||||
const Checkbox = React.forwardRef<
|
||||
React.ElementRef<typeof CheckboxPrimitive.Root>,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useState, useCallback, useRef, useEffect, useMemo } from "react";
|
||||
import { useState, useCallback, useRef, useEffect } from "react";
|
||||
import { useBackendAPI } from "@/lib/autogpt-server-api/context";
|
||||
import {
|
||||
Block,
|
||||
|
||||
@@ -22,7 +22,6 @@ import type {
|
||||
CredentialsDeleteResponse,
|
||||
CredentialsMetaInput,
|
||||
CredentialsMetaResponse,
|
||||
CredentialsProviderName,
|
||||
Graph,
|
||||
GraphCreatable,
|
||||
GraphExecution,
|
||||
@@ -48,7 +47,6 @@ import type {
|
||||
OttoQuery,
|
||||
OttoResponse,
|
||||
ProfileDetails,
|
||||
Provider,
|
||||
ProviderResponse,
|
||||
RefundRequest,
|
||||
ReviewSubmissionRequest,
|
||||
@@ -71,7 +69,6 @@ import type {
|
||||
UserPasswordCredentials,
|
||||
UsersBalanceHistoryResponse,
|
||||
} from "./types";
|
||||
import { DefaultStateType } from "@/components/builder/block-menu/block-menu-provider";
|
||||
|
||||
const isClient = typeof window !== "undefined";
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
Block,
|
||||
BlockUIType,
|
||||
Category,
|
||||
Graph,
|
||||
LibraryAgent,
|
||||
SpecialBlockID,
|
||||
} from "@/lib/autogpt-server-api/types";
|
||||
|
||||
Reference in New Issue
Block a user