Skip to content

Commit

Permalink
Merge pull request #91 from CAU-Capstone-FindIt/hot-fix
Browse files Browse the repository at this point in the history
FIX:수정
  • Loading branch information
kimtree24 authored Dec 10, 2024
2 parents 3c0981d + 3b3ca06 commit c0f8269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/userpage/Registeitem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -45,7 +45,7 @@ const Registeitem = () => {
<SelectContainer>
<Select onChange={handleTypeChange} value={itemType}>
<option value="lost">분실물</option>
<option value="found">습득물</option>
<option value="find">습득물</option>
</Select>
</SelectContainer>
</TitleSwitch>
Expand Down

0 comments on commit c0f8269

Please sign in to comment.