Skip to content

Commit

Permalink
Merge pull request #61 from MikeCheek/dev
Browse files Browse the repository at this point in the history
Removed tickets prices
  • Loading branch information
MikeCheek authored Aug 7, 2024
2 parents bc4db91 + cab1120 commit b59fa8f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/components/molecules/FastActions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ const Index = () => {
glowing={ticket.bigger}
primary={ticket.bigger}
icon={<ticket.icon className={styles.icon} width={70} />}
special={[
ticket.price.toFixed(2) + DefaultTicketProps.priceSymbol,
timer && ticket.priceDiscount
? ticket.priceDiscount.toFixed(2) + DefaultTicketProps.priceSymbol
: undefined,
]}
// special={[
// ticket.price.toFixed(2) + DefaultTicketProps.priceSymbol,
// timer && ticket.priceDiscount
// ? ticket.priceDiscount.toFixed(2) + DefaultTicketProps.priceSymbol
// : undefined,
// ]}
text={ticket.name[0]}
description={ticket.name[1]}
buttonText={t('NavCta')}
Expand All @@ -48,9 +48,10 @@ const Index = () => {
infoClick={() =>
setText(
ticket.name.join('<br/>'),
Array.isArray(currentPrice)
? currentPrice.map((t) => t.toFixed(2) + DefaultTicketProps.priceSymbol).join(' / ')
: currentPrice.toFixed(2) + DefaultTicketProps.priceSymbol,
// Array.isArray(currentPrice)
// ? currentPrice.map((t) => t.toFixed(2) + DefaultTicketProps.priceSymbol).join(' / ')
// : currentPrice.toFixed(2) + DefaultTicketProps.priceSymbol
'',
ticket.description,
ticket.date ? [ticket.date, ...(ticket.badges ?? [])] : ticket.badges
)
Expand Down

0 comments on commit b59fa8f

Please sign in to comment.