diff --git a/src/pages/iou/IOUBillPage.js b/src/pages/iou/IOUBillPage.js index 7e1350450c48..065f00165775 100644 --- a/src/pages/iou/IOUBillPage.js +++ b/src/pages/iou/IOUBillPage.js @@ -1,7 +1,12 @@ import React from 'react'; import IOUModal from './IOUModal'; +import ScreenWrapper from '../../components/ScreenWrapper'; export default props => ( - // eslint-disable-next-line react/jsx-props-no-spreading - + + {() => ( + // eslint-disable-next-line react/jsx-props-no-spreading + + )} + ); diff --git a/src/pages/iou/IOUModal.js b/src/pages/iou/IOUModal.js index 2bc55d90264a..8bfaacead947 100644 --- a/src/pages/iou/IOUModal.js +++ b/src/pages/iou/IOUModal.js @@ -108,7 +108,7 @@ class IOUModal extends Component {
diff --git a/src/pages/iou/IOURequestPage.js b/src/pages/iou/IOURequestPage.js index 57f5a52ddc99..67ee9d0f4dd4 100644 --- a/src/pages/iou/IOURequestPage.js +++ b/src/pages/iou/IOURequestPage.js @@ -1,7 +1,12 @@ import React from 'react'; import IOUModal from './IOUModal'; +import ScreenWrapper from '../../components/ScreenWrapper'; export default props => ( - // eslint-disable-next-line react/jsx-props-no-spreading - + + {() => ( + // eslint-disable-next-line react/jsx-props-no-spreading + + )} + );