Skip to content

Commit

Permalink
FIX : 인터페이스 변경에 따른 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jobkaeHenry committed Jan 12, 2024
1 parent 23a2add commit 26db6f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/newpost/SearchAlcoholInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const SearchAlcoholInput = ({
<Box sx={WrapperStyle}>
<List sx={ListStyle}>
{isSuccess &&
data?.list.map((alcoholData) => (
data?.content.map((alcoholData) => (
<ListItemButton
key={alcoholData.alcoholNo}
disableRipple
Expand All @@ -104,7 +104,7 @@ const SearchAlcoholInput = ({
</ListItemButton>
))}
{isLoading && <CircularProgress sx={{ margin: "0 auto" }} />}
{data?.list.length === 0 && <>검색결과가 없어요</>}
{data?.content.length === 0 && <>검색결과가 없어요</>}
</List>
</Box>
)}
Expand Down

0 comments on commit 26db6f1

Please sign in to comment.