diff --git a/src/components/Home/Home.jsx b/src/components/Home/Home.jsx
index 85dba5f..21319e2 100644
--- a/src/components/Home/Home.jsx
+++ b/src/components/Home/Home.jsx
@@ -135,7 +135,6 @@ export default function Home() {
};
getData();
}, []);
- console.log("data", data)
window.onresize = () => {
setScreenWidth(window.screen.width);
diff --git a/src/components/ImageContainer/ImageContainer.jsx b/src/components/ImageContainer/ImageContainer.jsx
new file mode 100644
index 0000000..8b0dd6c
--- /dev/null
+++ b/src/components/ImageContainer/ImageContainer.jsx
@@ -0,0 +1,27 @@
+import { Image, Flex, Text } from "@chakra-ui/react";
+
+export default function ImageContainer({ image, isresolved }) {
+ return (
+
+ {isresolved &&
+ RETURNED
+ This item has been returned.
+ }
+
+
+ );
+}
diff --git a/src/components/InfoModal/InfoModal.jsx b/src/components/InfoModal/InfoModal.jsx
index f0bee46..ef26b3e 100644
--- a/src/components/InfoModal/InfoModal.jsx
+++ b/src/components/InfoModal/InfoModal.jsx
@@ -8,7 +8,6 @@ import {
Text,
Stack,
useColorModeValue,
- Image,
Modal,
ModalOverlay,
ModalContent,
@@ -20,6 +19,7 @@ import { formatDate } from "../../utils";
import { UserAuth } from "../../context/AuthContext";
import DataContext from "../../context/DataContext";
import axios from "axios";
+import ImageContainer from "../ImageContainer/ImageContainer";
export default function InfoModal({ setData, isOpen, onClose, props }) {
const [showEmail, setShowEmail] = useState(false);
@@ -52,7 +52,6 @@ export default function InfoModal({ setData, isOpen, onClose, props }) {
}
const formattedDate = formatDate(new Date(props.date));
-
return (
-
+
+
+ {/*
+
+ RESOLVED
+
+
+ */}
{
- console.log("item", item)
const newItem = {
image: newAddedItem.image,
type: newAddedItem.type,