File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed
frontend/app/_source/components/ticketing Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,10 @@ const getDifficultyColor = (difficulty: string) => {
1515} ;
1616
1717interface PerformanceInfoProps {
18- performance ? : Performance ;
18+ performance : Performance ;
1919}
2020
2121export default function PerformanceInfo ( { performance } : PerformanceInfoProps ) {
22- if ( ! performance ) {
23- return (
24- < div className = "flex items-center justify-center h-64" >
25- < p className = "text-white/60" > 공연 정보를 불러오는 중...</ p >
26- </ div >
27- ) ;
28- }
29-
3022 const performanceDate = new Date ( performance . performance_date ) ;
3123
3224 console . log ( performanceDate ) ;
@@ -57,27 +49,6 @@ export default function PerformanceInfo({ performance }: PerformanceInfoProps) {
5749 < MapPin className = "w-5 h-5 text-white/80" />
5850 < span > { performance . venue_name } </ span >
5951 </ div >
60- < div className = "flex items-center gap-3" >
61- < DollarSign className = "w-5 h-5 text-white/80" />
62- < span > 99,000원 ~ 154,000원</ span >
63- </ div >
64- </ div >
65-
66- < div className = "flex flex-wrap gap-2 mb-6" >
67- < span className = "bg-white/20 backdrop-blur-sm px-3 py-1 rounded-lg text-sm" >
68- 콘서트
69- </ span >
70- < span className = "bg-white/20 backdrop-blur-sm px-3 py-1 rounded-lg text-sm" >
71- 인터파크
72- </ span >
73- < span
74- className = { `${ getDifficultyColor (
75- "상"
76- ) } px-3 py-1 rounded-lg text-sm flex items-center gap-1`}
77- >
78- < TrendingUp className = "w-4 h-4" />
79- 난이도: 상
80- </ span >
8152 </ div >
8253 </ div >
8354 ) ;
You can’t perform that action at this time.
0 commit comments