File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
src/domains/mypage/components/pages/my-bar Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 11'use client' ;
22
3-
43import { abvMap } from '@/domains/mypage/utills/abvMap' ;
54import CocktailCard from '@/domains/shared/components/cocktail-card/CocktailCard' ;
65import 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,
You can’t perform that action at this time.
0 commit comments