ordering-ui-react-native 0.23.75-test2 → 0.23.75-test3

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.23.75-test2",
3
+ "version": "0.23.75-test3",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -286,7 +286,7 @@ const MapViewComponent = (props: MapViewParams) => {
286
286
  marker={marker[0]}
287
287
  orderIds={marker.map((order: any) => order.id).join(', ')}
288
288
  />
289
- ))) : ''}
289
+ ))) : null}
290
290
  {Object.values(customerMarkerGroups).length ? (Object.values(customerMarkerGroups).map((marker: any) => (
291
291
  <RenderMarker
292
292
  key={marker[0]?.customer_id}
@@ -294,7 +294,7 @@ const MapViewComponent = (props: MapViewParams) => {
294
294
  orderIds={marker.map((order: any) => order.id).join(', ')}
295
295
  customer
296
296
  />
297
- ))) : ''}
297
+ ))) : null}
298
298
  {typeof location.lat === 'number' && !Number.isNaN(location.lat) && typeof location.lng === 'number' && !Number.isNaN(location.lng) ? (
299
299
  <Marker
300
300
  coordinate={{
@@ -317,10 +317,10 @@ const MapViewComponent = (props: MapViewParams) => {
317
317
  />
318
318
  </View>
319
319
  </Marker>
320
- ) : ''}
320
+ ) : null}
321
321
  </>
322
322
  </MapView>
323
- <OFab
323
+ {/* <OFab
324
324
  materialIcon
325
325
  iconName="plus"
326
326
  onPress={() => onPressZoomIn()}
@@ -345,9 +345,9 @@ const MapViewComponent = (props: MapViewParams) => {
345
345
  bottom: 35,
346
346
  right: 20,
347
347
  }}
348
- />
348
+ /> */}
349
349
  </View>
350
- ) : ''}
350
+ ) : null}
351
351
  </View>
352
352
  <View>
353
353
  <Alert