From 098241dc7d44a8f83be257e94927ea73646a127f Mon Sep 17 00:00:00 2001 From: Nabeel Tahir <93868996+nabeeltahirdeveloper@users.noreply.github.com> Date: Sun, 17 Jul 2022 07:01:20 +0500 Subject: [PATCH] test --- src/components/AddPd.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AddPd.jsx b/src/components/AddPd.jsx index dbc43ae..27e147d 100644 --- a/src/components/AddPd.jsx +++ b/src/components/AddPd.jsx @@ -25,11 +25,11 @@ const AddPd = () => { return clearValues; }, [status]); - const [photo, setPhoto] = useState(undefined); - const [catagory, setCatagory] = useState(undefined); + const [photo, setPhoto] = useState(); + const [catagory, setCatagory] = useState(); const [title, setTitle] = useState(""); const [desc, setDesc] = useState(""); - const [price, setPrice] = useState(undefined); + const [price, setPrice] = useState(); const isValid = photo && catagory && title && desc && price;