chore: move LeftSidePanel to legacy
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
import { Box, Paper, Tab, Tabs } from "@mui/material";
|
import { Box, Paper, Tab, Tabs } from "@mui/material";
|
||||||
import React, { useCallback, useEffect, useState } from "react";
|
import React, { useCallback, useEffect, useState } from "react";
|
||||||
import { getActiveWorkflow, getParamsOfActiveWorkflow } from "../../api/workflow";
|
import { getActiveWorkflow, getParamsOfActiveWorkflow } from "../../src/api/workflow";
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../src/context/socket';
|
||||||
import { WhereWhatPair, WorkflowFile } from "maxun-core";
|
import { WhereWhatPair, WorkflowFile } from "maxun-core";
|
||||||
import { emptyWorkflow } from "../../shared/constants";
|
import { emptyWorkflow } from "../../src/shared/constants";
|
||||||
import { LeftSidePanelContent } from "./LeftSidePanelContent";
|
import { LeftSidePanelContent } from "../../src/components/recorder/LeftSidePanelContent";
|
||||||
import { useGlobalInfoStore } from "../../context/globalInfo";
|
import { useGlobalInfoStore } from "../../src/context/globalInfo";
|
||||||
import { TabContext, TabPanel } from "@mui/lab";
|
import { TabContext, TabPanel } from "@mui/lab";
|
||||||
import { LeftSidePanelSettings } from "./LeftSidePanelSettings";
|
import { LeftSidePanelSettings } from "../../src/components/recorder/LeftSidePanelSettings";
|
||||||
import { RunSettings } from "../run/RunSettings";
|
import { RunSettings } from "../../src/components/run/RunSettings";
|
||||||
|
|
||||||
const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) => {
|
const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) => {
|
||||||
getActiveWorkflow(id).then(
|
getActiveWorkflow(id).then(
|
||||||
Reference in New Issue
Block a user