Skip to content

Commit

Permalink
Merge pull request #60 from potenday-project:FIX-빌드에러-수정
Browse files Browse the repository at this point in the history
FIX : 누락된 attr 추가
  • Loading branch information
jobkaeHenry authored Nov 28, 2023
2 parents 0288571 + 1107195 commit 266bbae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/components/newpost/SearchAlcoholInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import AlcholeSearchIcon from "@/assets/icons/AlcholeSearchIcon.svg";
import InputSearchIcon from "@/assets/icons/InputSearchIcon.svg";
import useGetAlcoholListQuery from "@/queries/alcohol/useGetAlcoholListQuery";
import { AlcoholDetailInterface } from "@/types/alcohol/AlcoholInterface";
import AlcoleNameTag from "@/components/wiki/AlcoholNameTag";
import AlcoholNameTag from "@/components/wiki/AlcoholNameTag";
import useDebounce from "@/hooks/useDebounce";
import { NewPostRequestAlCohol } from "@/types/newPost/NewPostInterface";

Expand Down Expand Up @@ -97,9 +97,10 @@ const SearchAlcoholInput = ({ setAlcoholNo }: SearchAlcoholInputInterface) => {
</Box>
)}
{selectedAlcohol && (
<AlcoleNameTag
<AlcoholNameTag
alcoholName={selectedAlcohol.alcoholName}
alcoholType={selectedAlcohol.alcoholType}
alcoholNo={selectedAlcohol.alcoholNo}
onClickRemove={() => setSelectedAlcohol(undefined)}
removable
/>
Expand Down

0 comments on commit 266bbae

Please sign in to comment.