File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/components/ticket-tiers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ interface Feature {
1212
1313interface TicketTierProps {
1414 title: string ;
15- educationPrice: number | string ;
15+ educationPrice? : number | string ;
1616 personalPrice: number | string ;
1717 businessPrice: number | string ;
1818 lateBusinessPrice? : number | string ;
@@ -123,7 +123,6 @@ const tiers: TicketTierProps[] = [
123123
124124 {
125125 title: " Remote" ,
126- educationPrice: " free" ,
127126 personalPrice: 80 ,
128127 businessPrice: 150 ,
129128 subtitle: " Conference days only" ,
@@ -167,6 +166,7 @@ const formatPrice = (price: number | string) => {
167166 <div >
168167 <Headline as = " h4" id =`titer-${tier}` title = { tier .title } />
169168 <div class = " mt-4 space-y-2" >
169+ { tier .educationPrice !== undefined && (
170170 <div >
171171 <div class = " font-bold text-lg" >
172172 Education:
@@ -175,7 +175,8 @@ const formatPrice = (price: number | string) => {
175175 </span >
176176 </div >
177177 </div >
178-
178+ )}
179+
179180 <div >
180181 <div class = " font-bold text-lg" >
181182 Personal:
You can’t perform that action at this time.
0 commit comments