From 3c0b2b97391312f3ca9b6112d2fa135cf8649262 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 2 Dec 2023 23:36:33 +0800 Subject: [PATCH] Update component names --- .../EditItemInstanceModal.tsx} | 2 +- .../EquipmentInstancesListPage/EquipmentInstancesListPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/Components/{EditItemModal/EditItemModal.tsx => EditItemInstanceModal/EditItemInstanceModal.tsx} (99%) 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";