tf-checkout-react 1.3.36 → 1.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.36",
2
+ "version": "1.3.37",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -18,7 +18,7 @@ interface ITicketsSectionProps {
18
18
  }
19
19
 
20
20
  export const TicketsSection = ({
21
- event = { currency: 'GBP' },
21
+ event = { currency: {} },
22
22
  ticketsList,
23
23
  selectedTickets,
24
24
  handleTicketSelect,
@@ -26,7 +26,9 @@ export const TicketsSection = ({
26
26
  ticketsHeaderComponent,
27
27
  hideTicketsHeader,
28
28
  }: ITicketsSectionProps) => {
29
- const { currency } = event
29
+ const {
30
+ currency: { currency },
31
+ } = event
30
32
  const sortedTicketsList = sortBySoldOut
31
33
  ? _sortBy(_sortBy(ticketsList, 'sortOrder'), 'soldOut')
32
34
  : _sortBy(ticketsList, 'sortOrder')