ordering-ui-react-native 0.14.43 → 0.14.44

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.14.43",
3
+ "version": "0.14.44",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -48,7 +48,7 @@ export const Help = (props: HelpParams) => {
48
48
 
49
49
  <LastOrdersContainer>
50
50
  <OText size={18} weight={600}>{t('LAST_ORDERS', 'Last Orders')}</OText>
51
- <LastOrders businessId={props.businessId} onRedirect={onRedirect} />
51
+ <LastOrders {...props} onRedirect={onRedirect} />
52
52
  </LastOrdersContainer>
53
53
  </>
54
54
  )
@@ -289,6 +289,7 @@ export const MessageListing = (props: MessageListingParams) => {
289
289
  setSelectedOrderId={setSelectedOrderId}
290
290
  setOrderList={setOrderListStatus}
291
291
  setOpenMessges={setOpenMessges}
292
+ franchiseId={props.franchiseId}
292
293
  />
293
294
  {openMessages && seletedOrder && (
294
295
  <OModal
@@ -306,4 +307,3 @@ export const MessageListing = (props: MessageListingParams) => {
306
307
  </MessageListingWrapper>
307
308
  )
308
309
  }
309
-
@@ -253,6 +253,7 @@ export interface NotFoundSourceParams {
253
253
  }
254
254
  export interface OrdersOptionParams {
255
255
  orderList?: any,
256
+ franchiseId?: any,
256
257
  activeOrders?: boolean,
257
258
  pagination?: any,
258
259
  titleContent?: string,
@@ -482,4 +483,5 @@ export interface HelpAccountAndPaymentParams {
482
483
 
483
484
  export interface MessageListingParams {
484
485
  navigation: any;
486
+ franchiseId?: any;
485
487
  }