chore: move AddWhatCondModal to legacy
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
import { WhereWhatPair } from "maxun-core";
|
import { WhereWhatPair } from "maxun-core";
|
||||||
import { GenericModal } from "../ui/GenericModal";
|
import { GenericModal } from "../../src/components/ui/GenericModal";
|
||||||
import { modalStyle } from "./AddWhereCondModal";
|
import { modalStyle } from "../../src/components/recorder/AddWhereCondModal";
|
||||||
import { Button, TextField, Typography } from "@mui/material";
|
import { Button, TextField, Typography } from "@mui/material";
|
||||||
import React, { useRef } from "react";
|
import React, { useRef } from "react";
|
||||||
import { KeyValueForm } from "./KeyValueForm";
|
import { KeyValueForm } from "../../src/components/recorder/KeyValueForm";
|
||||||
import { ClearButton } from "../ui/buttons/ClearButton";
|
import { ClearButton } from "../../src/components/ui/buttons/ClearButton";
|
||||||
import { useSocketStore } from "../../context/socket";
|
import { useSocketStore } from "../../src/context/socket";
|
||||||
|
|
||||||
interface AddWhatCondModalProps {
|
interface AddWhatCondModalProps {
|
||||||
isOpen: boolean;
|
isOpen: boolean;
|
||||||
@@ -12,7 +12,7 @@ import NotificationImportantIcon from '@mui/icons-material/NotificationImportant
|
|||||||
import { RemoveButton } from "../ui/buttons/RemoveButton";
|
import { RemoveButton } from "../ui/buttons/RemoveButton";
|
||||||
import { AddWhereCondModal } from "./AddWhereCondModal";
|
import { AddWhereCondModal } from "./AddWhereCondModal";
|
||||||
import { useSocketStore } from "../../context/socket";
|
import { useSocketStore } from "../../context/socket";
|
||||||
import { AddWhatCondModal } from "./AddWhatCondModal";
|
import { AddWhatCondModal } from "../../../legacy/src/AddWhatCondModal";
|
||||||
|
|
||||||
interface PairDetailProps {
|
interface PairDetailProps {
|
||||||
pair: WhereWhatPair | null;
|
pair: WhereWhatPair | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user