Deleted unused imports
This commit is contained in:
parent
da8d39aab2
commit
4e291d9bd1
4 changed files with 2 additions and 13 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import {
|
import {
|
||||||
CommandLineIcon,
|
|
||||||
ArrowUpRightIcon,
|
ArrowUpRightIcon,
|
||||||
TrashIcon,
|
TrashIcon,
|
||||||
PlayIcon,
|
PlayIcon,
|
||||||
|
|
@ -9,7 +8,6 @@ import Dropdown from "../../components/dropdownComponent";
|
||||||
import Input from "../../components/inputComponent";
|
import Input from "../../components/inputComponent";
|
||||||
import { nodeColors, nodeIcons, snakeToNormalCase } from "../../utils";
|
import { nodeColors, nodeIcons, snakeToNormalCase } from "../../utils";
|
||||||
import Tooltip from "../../components/TooltipComponent";
|
import Tooltip from "../../components/TooltipComponent";
|
||||||
import { useEffect } from "react";
|
|
||||||
|
|
||||||
export default function GenericNode({ data }) {
|
export default function GenericNode({ data }) {
|
||||||
const Icon = nodeIcons[data.type];
|
const Icon = nodeIcons[data.type];
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
import { Bars2Icon, ChartBarIcon } from "@heroicons/react/24/outline";
|
import { Bars2Icon } from "@heroicons/react/24/outline";
|
||||||
import { llm_chain } from "../../../../data_assets/llm_chain";
|
|
||||||
import { prompt } from "../../../../data_assets/prompt";
|
|
||||||
import DisclosureComponent from "../DisclosureComponent";
|
import DisclosureComponent from "../DisclosureComponent";
|
||||||
import { nodeColors, nodeIcons, toFirstUpperCase } from "../../../../utils";
|
import { nodeColors, nodeIcons, toFirstUpperCase } from "../../../../utils";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,7 @@ import ReactFlow, {
|
||||||
} from "reactflow";
|
} from "reactflow";
|
||||||
import { locationContext } from "../../contexts/locationContext";
|
import { locationContext } from "../../contexts/locationContext";
|
||||||
import ExtraSidebar from "./components/extraSidebarComponent";
|
import ExtraSidebar from "./components/extraSidebarComponent";
|
||||||
import axios from "axios";
|
|
||||||
import { generateUiNode } from "../../controllers/UiGenerator";
|
|
||||||
import Chat from "../../components/chatComponent";
|
import Chat from "../../components/chatComponent";
|
||||||
import { getAll } from "../../controllers/NodesServices";
|
|
||||||
import GenericNode from "../../CustomNodes/GenericNode";
|
import GenericNode from "../../CustomNodes/GenericNode";
|
||||||
|
|
||||||
const nodeTypes = {
|
const nodeTypes = {
|
||||||
|
|
@ -31,10 +28,6 @@ export default function FlowPage() {
|
||||||
|
|
||||||
const reactFlowWrapper = useRef(null);
|
const reactFlowWrapper = useRef(null);
|
||||||
|
|
||||||
const rfStyle = {
|
|
||||||
backgroundCOlor: "#B8CEFF",
|
|
||||||
};
|
|
||||||
|
|
||||||
let id = 0;
|
let id = 0;
|
||||||
|
|
||||||
const getId = () => `dndnode_${id++}`;
|
const getId = () => `dndnode_${id++}`;
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
export function classNames(...classes) {
|
||||||
return classes.filter(Boolean).join(" ");
|
return classes.filter(Boolean).join(" ");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue