diff --git a/src/components/recorder/AddWhatCondModal.tsx b/legacy/src/AddWhatCondModal.tsx similarity index 92% rename from src/components/recorder/AddWhatCondModal.tsx rename to legacy/src/AddWhatCondModal.tsx index 53fd38b8..fa05304d 100644 --- a/src/components/recorder/AddWhatCondModal.tsx +++ b/legacy/src/AddWhatCondModal.tsx @@ -1,11 +1,11 @@ import { WhereWhatPair } from "maxun-core"; -import { GenericModal } from "../ui/GenericModal"; -import { modalStyle } from "./AddWhereCondModal"; +import { GenericModal } from "../../src/components/ui/GenericModal"; +import { modalStyle } from "../../src/components/recorder/AddWhereCondModal"; import { Button, TextField, Typography } from "@mui/material"; import React, { useRef } from "react"; -import { KeyValueForm } from "./KeyValueForm"; -import { ClearButton } from "../ui/buttons/ClearButton"; -import { useSocketStore } from "../../context/socket"; +import { KeyValueForm } from "../../src/components/recorder/KeyValueForm"; +import { ClearButton } from "../../src/components/ui/buttons/ClearButton"; +import { useSocketStore } from "../../src/context/socket"; interface AddWhatCondModalProps { isOpen: boolean; diff --git a/src/components/recorder/PairDetail.tsx b/src/components/recorder/PairDetail.tsx index da9be05a..28d6e171 100644 --- a/src/components/recorder/PairDetail.tsx +++ b/src/components/recorder/PairDetail.tsx @@ -12,7 +12,7 @@ import NotificationImportantIcon from '@mui/icons-material/NotificationImportant import { RemoveButton } from "../ui/buttons/RemoveButton"; import { AddWhereCondModal } from "./AddWhereCondModal"; import { useSocketStore } from "../../context/socket"; -import { AddWhatCondModal } from "./AddWhatCondModal"; +import { AddWhatCondModal } from "../../../legacy/src/AddWhatCondModal"; interface PairDetailProps { pair: WhereWhatPair | null;