Skip to content

Commit 95248c2

Browse files
committed
[fix] 경로 오류 수정
1 parent 8ee022c commit 95248c2

File tree

1 file changed

+0
-22
lines changed
  • src/domains/mypage/components/pages/my-bar

1 file changed

+0
-22
lines changed

src/domains/mypage/components/pages/my-bar/MyBar.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use client';
22

3-
43
import { abvMap } from '@/domains/mypage/utills/abvMap';
54
import CocktailCard from '@/domains/shared/components/cocktail-card/CocktailCard';
65
import TextButton from '@/shared/components/button/TextButton';
@@ -38,7 +37,6 @@ function MyBar() {
3837
setIsModal(!isModal);
3938
};
4039

41-
const items = data?.items ?? [];
4240
const items = data?.items ?? [];
4341

4442
return (
@@ -55,19 +53,7 @@ function MyBar() {
5553
<TextButton className="my-5" onClick={handleDelete}>
5654
전체삭제
5755
</TextButton>
58-
{isModal && (
59-
<DeleteAllModal
60-
open={isModal}
61-
onClose={() => setIsModal(!isModal)}
62-
setIsModal={setIsModal}
63-
type="myBar"
64-
/>
65-
)}
66-
<TextButton className="my-5" onClick={handleDelete}>
67-
전체삭제
68-
</TextButton>
6956
</div>
70-
{items.length > 0 ? (
7157
{items.length > 0 ? (
7258
<div
7359
className="
@@ -77,14 +63,6 @@ function MyBar() {
7763
md:[grid-template-columns:repeat(3,minmax(0,250px))]
7864
"
7965
>
80-
{items.map(
81-
({
82-
cocktailId,
83-
cocktailName,
84-
imageUrl,
85-
cocktailNameKo,
86-
alcoholStrength,
87-
}: MyCocktail) => {
8866
{items.map(
8967
({
9068
cocktailId,

0 commit comments

Comments
 (0)