From 416d581e6977364690eb61f22e42f86cc93446c7 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Thu, 9 Jan 2025 20:03:34 +0530 Subject: [PATCH] feat: create run ui directory --- src/components/{molecules => run}/ColapsibleRow.tsx | 6 +++--- src/components/run/RunsTable.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/components/{molecules => run}/ColapsibleRow.tsx (98%) diff --git a/src/components/molecules/ColapsibleRow.tsx b/src/components/run/ColapsibleRow.tsx similarity index 98% rename from src/components/molecules/ColapsibleRow.tsx rename to src/components/run/ColapsibleRow.tsx index 02624cc3..79e4e2d7 100644 --- a/src/components/molecules/ColapsibleRow.tsx +++ b/src/components/run/ColapsibleRow.tsx @@ -5,10 +5,10 @@ import TableCell from "@mui/material/TableCell"; import { Box, Collapse, IconButton, Typography, Chip, TextField } from "@mui/material"; import { DeleteForever, KeyboardArrowDown, KeyboardArrowUp, Settings } from "@mui/icons-material"; import { deleteRunFromStorage } from "../../api/storage"; -import { columns, Data } from "../run/RunsTable"; -import { RunContent } from "../run/RunContent"; +import { columns, Data } from "./RunsTable"; +import { RunContent } from "./RunContent"; import { GenericModal } from "../ui/GenericModal"; -import { modalStyle } from "./AddWhereCondModal"; +import { modalStyle } from "../molecules/AddWhereCondModal"; import { getUserById } from "../../api/auth"; import { useTranslation } from "react-i18next"; diff --git a/src/components/run/RunsTable.tsx b/src/components/run/RunsTable.tsx index a24137b8..855f7b15 100644 --- a/src/components/run/RunsTable.tsx +++ b/src/components/run/RunsTable.tsx @@ -16,7 +16,7 @@ import SearchIcon from '@mui/icons-material/Search'; import { useGlobalInfoStore } from "../../context/globalInfo"; import { getStoredRuns } from "../../api/storage"; import { RunSettings } from "./RunSettings"; -import { CollapsibleRow } from "../molecules/ColapsibleRow"; +import { CollapsibleRow } from "./ColapsibleRow"; // Export columns before the component export const columns: readonly Column[] = [