ordering-ui-react-native 0.18.64 → 0.18.65

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,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.18.64",
3
+ "version": "0.18.65",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -53,7 +53,6 @@ const MultiCheckoutUI = (props: any) => {
53
53
  navigation,
54
54
  placing,
55
55
  openCarts,
56
- totalCartsPrice,
57
56
  handleGroupPlaceOrder,
58
57
  paymethodSelected,
59
58
  handleSelectPaymethod,
@@ -99,6 +98,8 @@ const MultiCheckoutUI = (props: any) => {
99
98
  }
100
99
  }
101
100
 
101
+ const totalCartsPrice = cartGroup?.result?.balance
102
+
102
103
  const driverTipsOptions = typeof configs?.driver_tip_options?.value === 'string'
103
104
  ? JSON.parse(configs?.driver_tip_options?.value) || []
104
105
  : configs?.driver_tip_options?.value || []