diff --git a/legacy/src/AddWhatCondModal.tsx b/legacy/src/AddWhatCondModal.tsx index fa05304d..e653405a 100644 --- a/legacy/src/AddWhatCondModal.tsx +++ b/legacy/src/AddWhatCondModal.tsx @@ -1,6 +1,6 @@ import { WhereWhatPair } from "maxun-core"; import { GenericModal } from "../../src/components/ui/GenericModal"; -import { modalStyle } from "../../src/components/recorder/AddWhereCondModal"; +import { modalStyle } from "./AddWhereCondModal"; import { Button, TextField, Typography } from "@mui/material"; import React, { useRef } from "react"; import { KeyValueForm } from "../../src/components/recorder/KeyValueForm"; diff --git a/src/components/recorder/AddWhereCondModal.tsx b/legacy/src/AddWhereCondModal.tsx similarity index 94% rename from src/components/recorder/AddWhereCondModal.tsx rename to legacy/src/AddWhereCondModal.tsx index 45019d8f..f53d05a7 100644 --- a/src/components/recorder/AddWhereCondModal.tsx +++ b/legacy/src/AddWhereCondModal.tsx @@ -1,15 +1,15 @@ -import { Dropdown as MuiDropdown } from "../ui/DropdownMui"; +import { Dropdown as MuiDropdown } from "../../src/components/ui/DropdownMui"; import { Button, MenuItem, Typography } from "@mui/material"; import React, { useRef } from "react"; -import { GenericModal } from "../ui/GenericModal"; +import { GenericModal } from "../../src/components/ui/GenericModal"; import { WhereWhatPair } from "maxun-core"; import { SelectChangeEvent } from "@mui/material/Select/Select"; -import { DisplayConditionSettings } from "../../../legacy/src/DisplayWhereConditionSettings"; -import { useSocketStore } from "../../context/socket"; +import { DisplayConditionSettings } from "./DisplayWhereConditionSettings"; +import { useSocketStore } from "../../src/context/socket"; interface AddWhereCondModalProps { isOpen: boolean; diff --git a/legacy/src/PairDetail.tsx b/legacy/src/PairDetail.tsx index 570792d9..66098b17 100644 --- a/legacy/src/PairDetail.tsx +++ b/legacy/src/PairDetail.tsx @@ -10,7 +10,7 @@ import { AddButton } from "../../src/components/ui/buttons/AddButton"; import { WarningText } from "../../src/components/ui/texts"; import NotificationImportantIcon from '@mui/icons-material/NotificationImportant'; import { RemoveButton } from "../../src/components/ui/buttons/RemoveButton"; -import { AddWhereCondModal } from "../../src/components/recorder/AddWhereCondModal"; +import { AddWhereCondModal } from "./AddWhereCondModal"; import { useSocketStore } from "../../src/context/socket"; import { AddWhatCondModal } from "./AddWhatCondModal";