diff --git a/src/pages/userpage/Registeitem.jsx b/src/pages/userpage/Registeitem.jsx index f05c65e..def0d74 100644 --- a/src/pages/userpage/Registeitem.jsx +++ b/src/pages/userpage/Registeitem.jsx @@ -18,8 +18,8 @@ const Registeitem = () => { if(itemType == "lost"){ const response = await myLost(); setFindReports(response) - }else if(itemType == "found"){ - //setItemType("find") + }else{ + setItemType("find") const response = await myFind(); setFindReports(response) } @@ -45,7 +45,7 @@ const Registeitem = () => {