Deleted unused imports

This commit is contained in:
Lucas Oliveira 2023-02-14 19:45:38 -03:00
commit 4e291d9bd1
4 changed files with 2 additions and 13 deletions

View file

@ -1,5 +1,4 @@
import {
CommandLineIcon,
ArrowUpRightIcon,
TrashIcon,
PlayIcon,
@ -9,7 +8,6 @@ import Dropdown from "../../components/dropdownComponent";
import Input from "../../components/inputComponent";
import { nodeColors, nodeIcons, snakeToNormalCase } from "../../utils";
import Tooltip from "../../components/TooltipComponent";
import { useEffect } from "react";
export default function GenericNode({ data }) {
const Icon = nodeIcons[data.type];

View file

@ -1,6 +1,4 @@
import { Bars2Icon, ChartBarIcon } from "@heroicons/react/24/outline";
import { llm_chain } from "../../../../data_assets/llm_chain";
import { prompt } from "../../../../data_assets/prompt";
import { Bars2Icon } from "@heroicons/react/24/outline";
import DisclosureComponent from "../DisclosureComponent";
import { nodeColors, nodeIcons, toFirstUpperCase } from "../../../../utils";
import { useEffect, useState } from "react";

View file

@ -8,10 +8,7 @@ import ReactFlow, {
} from "reactflow";
import { locationContext } from "../../contexts/locationContext";
import ExtraSidebar from "./components/extraSidebarComponent";
import axios from "axios";
import { generateUiNode } from "../../controllers/UiGenerator";
import Chat from "../../components/chatComponent";
import { getAll } from "../../controllers/NodesServices";
import GenericNode from "../../CustomNodes/GenericNode";
const nodeTypes = {
@ -31,10 +28,6 @@ export default function FlowPage() {
const reactFlowWrapper = useRef(null);
const rfStyle = {
backgroundCOlor: "#B8CEFF",
};
let id = 0;
const getId = () => `dndnode_${id++}`;

View file

@ -1,4 +1,4 @@
import { RocketLaunchIcon, LinkIcon, CpuChipIcon, LightBulbIcon, CommandLineIcon, ShieldCheckIcon, WrenchScrewdriverIcon } from "@heroicons/react/24/outline";
import { RocketLaunchIcon, LinkIcon, CpuChipIcon, LightBulbIcon, CommandLineIcon, WrenchScrewdriverIcon } from "@heroicons/react/24/outline";
export function classNames(...classes) {
return classes.filter(Boolean).join(" ");