ordering-ui-react-native 0.22.17 → 0.22.18

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.22.17",
3
+ "version": "0.22.18",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -133,7 +133,7 @@ const OrderProgressUI = (props: any) => {
133
133
  <View style={styles.logoWrapper}>
134
134
  <FastImage
135
135
  style={{ width: 50, height: 50 }}
136
- source={orderList?.orders.length === 1 && lastOrder?.business?.logo.includes('http') ? {
136
+ source={orderList?.orders.length === 1 && lastOrder?.business?.logo?.includes?.('http') ? {
137
137
  uri: optimizeImage(lastOrder?.business?.logo, 'h_50,c_limit'),
138
138
  priority: FastImage.priority.normal,
139
139
  } : theme.images.logos.logotype}