Skip to content

Commit 062578a

Browse files
authored
Merge pull request #105 from 626-ju/refactor/wineid-api
fix:플레이버슬라이더max값 수정
2 parents 1830281 + 6f8bef4 commit 062578a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/wineDetail/FlavorSliderList.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function FlavorSliderList({
2222
labelRight={'진해요'}
2323
badgeLabel={'바디감'}
2424
disabled
25+
max={10}
2526
/>
2627
<FlavorSlider
2728
value={smoothTannic}
@@ -30,6 +31,7 @@ function FlavorSliderList({
3031
labelRight={'떫어요'}
3132
badgeLabel={'타닌'}
3233
disabled
34+
max={10}
3335
/>
3436
<FlavorSlider
3537
value={drySweet}
@@ -38,6 +40,7 @@ function FlavorSliderList({
3840
labelRight={'달아요'}
3941
badgeLabel={'당도'}
4042
disabled
43+
max={10}
4144
/>
4245
<FlavorSlider
4346
value={softAcidic}
@@ -46,6 +49,7 @@ function FlavorSliderList({
4649
labelRight={'많이셔요'}
4750
badgeLabel={'산미'}
4851
disabled
52+
max={10}
4953
/>
5054
</div>
5155
);

src/components/wineDetail/WineRating.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface Props {
1515
function WineRating({ rating, reviewCount, ratings }: Props) {
1616
const nowWine = useWineStore((state) => state.nowWine);
1717

18-
if (!nowWine) return <>에러</>;
18+
if (!nowWine) return;
1919
const { id, name } = nowWine;
2020

2121
return (

0 commit comments

Comments
 (0)