From e527c7f628ac17904ce25eca572367e06f36fc49 Mon Sep 17 00:00:00 2001 From: Hadj Said Bouras Date: Thu, 23 Nov 2023 11:19:41 +0100 Subject: [PATCH] feat(index.jsx): add states and craeted city fields --- src/pages/addItemPage/index.jsx | 112 ++++++++++++++++++++++---------- 1 file changed, 79 insertions(+), 33 deletions(-) diff --git a/src/pages/addItemPage/index.jsx b/src/pages/addItemPage/index.jsx index 0ac346c..a5395dd 100644 --- a/src/pages/addItemPage/index.jsx +++ b/src/pages/addItemPage/index.jsx @@ -1,9 +1,8 @@ +import Button from "@/components/button/Button"; import React, { useState, useRef } from "react"; import { BiSolidDownArrow } from "react-icons/bi"; export default function Index() { - const clothes = "whatever"; - const place = "whatever"; const [selectedPhotos, setSelectedPhotos] = useState([]); const [deleteIndices, setDeleteIndices] = useState([]); const fileInputRef = useRef(null); @@ -55,42 +54,95 @@ export default function Index() { htmlFor='category' className='text-sm font-medium' > - Category + Category
-
+
+ +