diff --git a/src/Components/EditItemModal/EditItemModal.tsx b/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx similarity index 99% rename from src/Components/EditItemModal/EditItemModal.tsx rename to src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx index bdcb36f..1ead57e 100644 --- a/src/Components/EditItemModal/EditItemModal.tsx +++ b/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx @@ -20,7 +20,7 @@ import { useQuery } from "@tanstack/react-query"; import { CircularProgress } from "@mui/material"; import React from "react"; -export default function EditItemModal(props: { +export default function EditItemInstanceModal(props: { id: number; setOpen: React.Dispatch>; }) { diff --git a/src/Pages/EquipmentInstancesListPage/EquipmentInstancesListPage.tsx b/src/Pages/EquipmentInstancesListPage/EquipmentInstancesListPage.tsx index 654c049..94425a3 100644 --- a/src/Pages/EquipmentInstancesListPage/EquipmentInstancesListPage.tsx +++ b/src/Pages/EquipmentInstancesListPage/EquipmentInstancesListPage.tsx @@ -11,7 +11,7 @@ import TableHead from "@mui/material/TableHead"; import TableRow from "@mui/material/TableRow"; import Paper from "@mui/material/Paper"; import { colors } from "../../styles"; -import EditItemModal from "../../Components/EditItemModal/EditItemModal"; +import EditItemModal from "../../Components/EditItemInstanceModal/EditItemInstanceModal"; import { useState } from "react"; import Popup from "reactjs-popup";