From 845a643cc4f9e2e9f23e12b6daa0dd5c35642395 Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Fri, 22 Oct 2021 07:59:14 -1000 Subject: [PATCH 1/3] Add missing displayName --- src/components/CardOverlay.js | 1 + src/components/FAB/index.ios.js | 13 ++++++------- src/components/FormAlertWithSubmitButton.js | 2 ++ src/components/Hoverable/index.native.js | 1 + .../Navigation/AppNavigator/MainDrawerNavigator.js | 1 - src/libs/Navigation/AppNavigator/PublicScreens.js | 5 ++++- .../AppNavigator/createCustomModalStackNavigator.js | 9 ++++++--- src/pages/AddPersonalBankAccountPage.js | 1 + src/pages/NotFound.js | 8 ++++++-- src/pages/ReimbursementAccount/IdentityForm.js | 1 + src/pages/ReportParticipantsPage.js | 2 +- src/pages/home/report/ReportActionItemGrouped.js | 1 + src/pages/iou/IOUBillPage.js | 4 +++- src/pages/iou/IOURequestPage.js | 4 +++- src/pages/iou/IOUSendPage.js | 4 +++- src/pages/workspace/bills/WorkspaceBillsPage.js | 2 +- 16 files changed, 40 insertions(+), 19 deletions(-) diff --git a/src/components/CardOverlay.js b/src/components/CardOverlay.js index 2b41472a05dc..b1fb7d47eb2a 100644 --- a/src/components/CardOverlay.js +++ b/src/components/CardOverlay.js @@ -3,5 +3,6 @@ import {View} from 'react-native'; import styles from '../styles/styles'; const CardOverlay = () => ; +CardOverlay.displayName = 'CardOverlay'; export default CardOverlay; diff --git a/src/components/FAB/index.ios.js b/src/components/FAB/index.ios.js index 300bc3ee1eb6..863ac8f9fac0 100644 --- a/src/components/FAB/index.ios.js +++ b/src/components/FAB/index.ios.js @@ -7,13 +7,12 @@ import FAB from './FAB'; import fabPropTypes from './fabPropTypes'; // KeyboardAvoidingView only need in IOS so that's the reason make platform specific FAB component. -function Fab({onPress, isActive}) { - return ( - - - - ); -} +const Fab = ({onPress, isActive}) => ( + + + +); Fab.propTypes = fabPropTypes; +Fab.displayName = 'Fab'; export default Fab; diff --git a/src/components/FormAlertWithSubmitButton.js b/src/components/FormAlertWithSubmitButton.js index c82fea1e6195..0bd2659eb32e 100644 --- a/src/components/FormAlertWithSubmitButton.js +++ b/src/components/FormAlertWithSubmitButton.js @@ -121,4 +121,6 @@ const FormAlertWithSubmitButton = ({ FormAlertWithSubmitButton.propTypes = propTypes; FormAlertWithSubmitButton.defaultProps = defaultProps; +FormAlertWithSubmitButton.displayName = 'FormAlertWithSubmitButton'; + export default withLocalize(FormAlertWithSubmitButton); diff --git a/src/components/Hoverable/index.native.js b/src/components/Hoverable/index.native.js index 18e1a4ccf2f5..29579fbfcf3b 100644 --- a/src/components/Hoverable/index.native.js +++ b/src/components/Hoverable/index.native.js @@ -19,5 +19,6 @@ const Hoverable = (props) => { Hoverable.propTypes = propTypes; Hoverable.defaultProps = defaultProps; +Hoverable.displayName = 'Hoverable'; export default Hoverable; diff --git a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js index fac1a19acae5..7671baa96809 100644 --- a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js +++ b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js @@ -29,7 +29,6 @@ const defaultProps = { betas: [], }; - /** * Get the most recently accessed report for the user * diff --git a/src/libs/Navigation/AppNavigator/PublicScreens.js b/src/libs/Navigation/AppNavigator/PublicScreens.js index 5577cfeb0484..0c6be4066f90 100644 --- a/src/libs/Navigation/AppNavigator/PublicScreens.js +++ b/src/libs/Navigation/AppNavigator/PublicScreens.js @@ -8,7 +8,7 @@ import defaultScreenOptions from './defaultScreenOptions'; const RootStack = createStackNavigator(); -export default () => ( +const PublicScreens = () => ( ( /> ); + +PublicScreens.displayName = 'PublicScreens'; +export default PublicScreens; diff --git a/src/libs/Navigation/AppNavigator/createCustomModalStackNavigator.js b/src/libs/Navigation/AppNavigator/createCustomModalStackNavigator.js index 36b8f5ee916a..c2e91670173b 100644 --- a/src/libs/Navigation/AppNavigator/createCustomModalStackNavigator.js +++ b/src/libs/Navigation/AppNavigator/createCustomModalStackNavigator.js @@ -6,6 +6,10 @@ import {StackRouter} from '@react-navigation/routers'; import {StackView} from '@react-navigation/stack'; import ClickAwayHandler from './ClickAwayHandler'; +const propTypes = { + children: PropTypes.node.isRequired, +}; + const CustomRootStackNavigator = ({ children, ...rest @@ -35,8 +39,7 @@ const CustomRootStackNavigator = ({ ); }; -CustomRootStackNavigator.propTypes = { - children: PropTypes.node.isRequired, -}; +CustomRootStackNavigator.propTypes = propTypes; +CustomRootStackNavigator.displayName = 'CustomRootStackNavigator'; export default createNavigatorFactory(CustomRootStackNavigator); diff --git a/src/pages/AddPersonalBankAccountPage.js b/src/pages/AddPersonalBankAccountPage.js index e6e7f22e63e0..6ce8651c3306 100644 --- a/src/pages/AddPersonalBankAccountPage.js +++ b/src/pages/AddPersonalBankAccountPage.js @@ -28,4 +28,5 @@ const AddPersonalBankAccountPage = props => ( ); AddPersonalBankAccountPage.propTypes = propTypes; +AddPersonalBankAccountPage.displayName = 'AddPersonalBankAccountPage'; export default withLocalize(AddPersonalBankAccountPage); diff --git a/src/pages/NotFound.js b/src/pages/NotFound.js index b0d6406e07ba..ff82f566c5d9 100755 --- a/src/pages/NotFound.js +++ b/src/pages/NotFound.js @@ -12,6 +12,10 @@ import ROUTES from '../ROUTES'; import withLocalize, {withLocalizePropTypes} from '../components/withLocalize'; import Text from '../components/Text'; +const propTypes = { + ...withLocalizePropTypes, +}; + const NotFound = ({translations: {translate}}) => ( <> ( ); -NotFound.propTypes = {...withLocalizePropTypes}; - +NotFound.propTypes = propTypes; +NotFound.displayName = 'NotFound'; export default withLocalize(NotFound); diff --git a/src/pages/ReimbursementAccount/IdentityForm.js b/src/pages/ReimbursementAccount/IdentityForm.js index 52f3386137ac..692df470072a 100644 --- a/src/pages/ReimbursementAccount/IdentityForm.js +++ b/src/pages/ReimbursementAccount/IdentityForm.js @@ -145,4 +145,5 @@ const IdentityForm = ({ IdentityForm.propTypes = propTypes; IdentityForm.defaultProps = defaultProps; +IdentityForm.displayName = 'IdentityForm'; export default withLocalize(IdentityForm); diff --git a/src/pages/ReportParticipantsPage.js b/src/pages/ReportParticipantsPage.js index 3c8651393a24..aef51d56be3f 100755 --- a/src/pages/ReportParticipantsPage.js +++ b/src/pages/ReportParticipantsPage.js @@ -121,7 +121,7 @@ const ReportParticipantsPage = ({ }; ReportParticipantsPage.propTypes = propTypes; -ReportParticipantsPage.displayName = 'ParticipantsPage'; +ReportParticipantsPage.displayName = 'ReportParticipantsPage'; export default compose( withLocalize, diff --git a/src/pages/home/report/ReportActionItemGrouped.js b/src/pages/home/report/ReportActionItemGrouped.js index 7c5e5c4f3c44..be6dde41bbf6 100644 --- a/src/pages/home/report/ReportActionItemGrouped.js +++ b/src/pages/home/report/ReportActionItemGrouped.js @@ -17,4 +17,5 @@ const ReportActionItemGrouped = ({children}) => ( ); ReportActionItemGrouped.propTypes = propTypes; +ReportActionItemGrouped.displayName = 'ReportActionItemGrouped'; export default ReportActionItemGrouped; diff --git a/src/pages/iou/IOUBillPage.js b/src/pages/iou/IOUBillPage.js index cda451e21360..d1938ec41a15 100644 --- a/src/pages/iou/IOUBillPage.js +++ b/src/pages/iou/IOUBillPage.js @@ -2,4 +2,6 @@ import React from 'react'; import IOUModal from './IOUModal'; // eslint-disable-next-line react/jsx-props-no-spreading -export default props => ; +const IOUBillPage = props => ; +IOUBillPage.displayName = 'IOUBillPage'; +export default IOUBillPage; diff --git a/src/pages/iou/IOURequestPage.js b/src/pages/iou/IOURequestPage.js index 6cacd162c105..7b6e32ac9ab3 100644 --- a/src/pages/iou/IOURequestPage.js +++ b/src/pages/iou/IOURequestPage.js @@ -2,4 +2,6 @@ import React from 'react'; import IOUModal from './IOUModal'; // eslint-disable-next-line react/jsx-props-no-spreading -export default props => ; +const IOURequestPage = props => ; +IOURequestPage.displayName = 'IOURequestPage'; +export default IOURequestPage; diff --git a/src/pages/iou/IOUSendPage.js b/src/pages/iou/IOUSendPage.js index 13975708ae13..79a83acaf8ea 100644 --- a/src/pages/iou/IOUSendPage.js +++ b/src/pages/iou/IOUSendPage.js @@ -3,4 +3,6 @@ import CONST from '../../CONST'; import IOUModal from './IOUModal'; // eslint-disable-next-line react/jsx-props-no-spreading -export default props => ; +const IOUSendPage = props => ; +IOUSendPage.displayName = 'IOUSendPage'; +export default IOUSendPage; diff --git a/src/pages/workspace/bills/WorkspaceBillsPage.js b/src/pages/workspace/bills/WorkspaceBillsPage.js index 41ebf22b9205..ec07dbcb7c65 100644 --- a/src/pages/workspace/bills/WorkspaceBillsPage.js +++ b/src/pages/workspace/bills/WorkspaceBillsPage.js @@ -36,5 +36,5 @@ const WorkspaceBillsPage = ({translate, route}) => ( ); WorkspaceBillsPage.propTypes = propTypes; - +WorkspaceBillsPage.displayName = 'WorkspaceBillsPage'; export default withLocalize(WorkspaceBillsPage); From 27eb581e987d4731c906dd5aaafe4e18d0dc8335 Mon Sep 17 00:00:00 2001 From: Marc Glasser Date: Fri, 22 Oct 2021 08:16:19 -1000 Subject: [PATCH 2/3] remove unnecessary displayName --- src/components/AttachmentPicker/index.native.js | 2 +- src/components/AvatarWithIndicator.js | 1 - src/components/Button.js | 1 - src/components/ButtonWithMenu.js | 1 - src/components/ContextMenuItem.js | 1 - src/components/DisplayNames/index.js | 1 - src/components/Header.js | 2 -- src/components/IOUConfirmationList.js | 1 - src/components/ImageView/index.native.js | 1 - src/components/Modal/BaseModal.js | 2 +- src/components/Modal/index.js | 2 +- src/components/ReportTransaction.js | 1 - src/components/ScreenWrapper.js | 2 +- src/components/SwipeableView/index.native.js | 2 +- src/components/Switch.js | 1 - src/components/TextInputFocusable/index.ios.js | 1 - src/components/VideoChatButtonAndMenu.js | 2 +- src/pages/ReimbursementAccount/RequestorStep.js | 1 - src/pages/ReportDetailsPage.js | 1 - src/pages/RequestCallPage.js | 2 +- src/pages/SearchPage.js | 1 - .../home/report/ContextMenu/PopoverReportActionContextMenu.js | 1 - src/pages/home/report/MarkerBadge/index.js | 1 - src/pages/home/report/ReportActionItemFragment.js | 1 - src/pages/home/report/ReportTypingIndicator.js | 1 - src/pages/iou/IOUCurrencySelection.js | 1 - src/pages/iou/IOUModal.js | 1 - src/pages/iou/steps/IOUAmountPage.js | 1 - .../iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js | 1 - src/pages/settings/AddSecondaryLoginPage.js | 1 - src/pages/settings/PasswordPage.js | 1 - src/pages/settings/Payments/AddDebitCardPage.js | 1 - src/pages/settings/Profile/LoginField.js | 1 - src/pages/workspace/WorkspaceMembersPage.js | 1 - 34 files changed, 7 insertions(+), 35 deletions(-) diff --git a/src/components/AttachmentPicker/index.native.js b/src/components/AttachmentPicker/index.native.js index bba7a600579a..f832f8b4254c 100644 --- a/src/components/AttachmentPicker/index.native.js +++ b/src/components/AttachmentPicker/index.native.js @@ -303,7 +303,7 @@ class AttachmentPicker extends Component { AttachmentPicker.propTypes = propTypes; AttachmentPicker.defaultProps = defaultProps; -AttachmentPicker.displayName = 'AttachmentPicker'; + export default compose( withWindowDimensions, withLocalize, diff --git a/src/components/AvatarWithIndicator.js b/src/components/AvatarWithIndicator.js index bec25774a386..4c7d4dcf1baa 100644 --- a/src/components/AvatarWithIndicator.js +++ b/src/components/AvatarWithIndicator.js @@ -90,5 +90,4 @@ class AvatarWithIndicator extends PureComponent { AvatarWithIndicator.defaultProps = defaultProps; AvatarWithIndicator.propTypes = propTypes; -AvatarWithIndicator.displayName = 'AvatarWithIndicator'; export default AvatarWithIndicator; diff --git a/src/components/Button.js b/src/components/Button.js index 889737a1b163..3038e0c64f21 100644 --- a/src/components/Button.js +++ b/src/components/Button.js @@ -188,6 +188,5 @@ class Button extends Component { Button.propTypes = propTypes; Button.defaultProps = defaultProps; -Button.displayName = 'Button'; export default Button; diff --git a/src/components/ButtonWithMenu.js b/src/components/ButtonWithMenu.js index a71d0c196da0..238b093b85df 100644 --- a/src/components/ButtonWithMenu.js +++ b/src/components/ButtonWithMenu.js @@ -104,6 +104,5 @@ class ButtonWithMenu extends PureComponent { ButtonWithMenu.propTypes = propTypes; ButtonWithMenu.defaultProps = defaultProps; -ButtonWithMenu.displayName = 'ButtonWithMenu'; export default ButtonWithMenu; diff --git a/src/components/ContextMenuItem.js b/src/components/ContextMenuItem.js index 265c830c4bb8..7c2fb58a48b0 100644 --- a/src/components/ContextMenuItem.js +++ b/src/components/ContextMenuItem.js @@ -114,6 +114,5 @@ class ContextMenuItem extends Component { ContextMenuItem.propTypes = propTypes; ContextMenuItem.defaultProps = defaultProps; -ContextMenuItem.displayName = 'ContextMenuItem'; export default ContextMenuItem; diff --git a/src/components/DisplayNames/index.js b/src/components/DisplayNames/index.js index 32457d897189..e58b08561d6a 100644 --- a/src/components/DisplayNames/index.js +++ b/src/components/DisplayNames/index.js @@ -123,6 +123,5 @@ class DisplayNames extends PureComponent { } DisplayNames.propTypes = propTypes; DisplayNames.defaultProps = defaultProps; -DisplayNames.displayName = 'DisplayNames'; export default DisplayNames; diff --git a/src/components/Header.js b/src/components/Header.js index fd8ef25627fd..116d8bee7ade 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -21,8 +21,6 @@ const defaultProps = { subtitle: '', }; const Header = props => ( - - diff --git a/src/components/IOUConfirmationList.js b/src/components/IOUConfirmationList.js index 3d225c5a51fc..38f12b86d85c 100755 --- a/src/components/IOUConfirmationList.js +++ b/src/components/IOUConfirmationList.js @@ -447,7 +447,6 @@ class IOUConfirmationList extends Component { } } -IOUConfirmationList.displayName = 'IOUConfirmPage'; IOUConfirmationList.propTypes = propTypes; IOUConfirmationList.defaultProps = defaultProps; diff --git a/src/components/ImageView/index.native.js b/src/components/ImageView/index.native.js index 1a504e534932..1915efedd3b8 100644 --- a/src/components/ImageView/index.native.js +++ b/src/components/ImageView/index.native.js @@ -139,6 +139,5 @@ class ImageView extends PureComponent { } ImageView.propTypes = propTypes; -ImageView.displayName = 'ImageView'; export default withWindowDimensions(ImageView); diff --git a/src/components/Modal/BaseModal.js b/src/components/Modal/BaseModal.js index 396d4c58af00..7d7c1cc4488a 100644 --- a/src/components/Modal/BaseModal.js +++ b/src/components/Modal/BaseModal.js @@ -146,7 +146,7 @@ class BaseModal extends PureComponent { BaseModal.propTypes = propTypes; BaseModal.defaultProps = defaultProps; -BaseModal.displayName = 'BaseModal'; + export default React.forwardRef((props, ref) => ( // eslint-disable-next-line react/jsx-props-no-spreading diff --git a/src/components/Modal/index.js b/src/components/Modal/index.js index f74fdd6137dc..97156ac461cc 100644 --- a/src/components/Modal/index.js +++ b/src/components/Modal/index.js @@ -45,5 +45,5 @@ class Modal extends Component { Modal.propTypes = propTypes; Modal.defaultProps = defaultProps; -Modal.displayName = 'Modal'; + export default withWindowDimensions(Modal); diff --git a/src/components/ReportTransaction.js b/src/components/ReportTransaction.js index 8dec8e7a6641..fce822219d8b 100644 --- a/src/components/ReportTransaction.js +++ b/src/components/ReportTransaction.js @@ -119,7 +119,6 @@ class ReportTransaction extends Component { } } -ReportTransaction.displayName = 'ReportTransaction'; ReportTransaction.defaultProps = defaultProps; ReportTransaction.propTypes = propTypes; export default withOnyx({ diff --git a/src/components/ScreenWrapper.js b/src/components/ScreenWrapper.js index b9fddd67ef08..74f3c1cb733d 100644 --- a/src/components/ScreenWrapper.js +++ b/src/components/ScreenWrapper.js @@ -128,7 +128,7 @@ class ScreenWrapper extends React.Component { ScreenWrapper.propTypes = propTypes; ScreenWrapper.defaultProps = defaultProps; -ScreenWrapper.displayName = 'ScreenWrapper'; + export default compose( withNavigation, withOnyx({ diff --git a/src/components/SwipeableView/index.native.js b/src/components/SwipeableView/index.native.js index c4a1adc9d66f..f0f6167ba3b6 100644 --- a/src/components/SwipeableView/index.native.js +++ b/src/components/SwipeableView/index.native.js @@ -44,5 +44,5 @@ class SwipeableView extends PureComponent { } SwipeableView.propTypes = propTypes; -SwipeableView.displayName = 'SwipeableView'; + export default SwipeableView; diff --git a/src/components/Switch.js b/src/components/Switch.js index c53390d83e72..f01ed19fdb9a 100644 --- a/src/components/Switch.js +++ b/src/components/Switch.js @@ -52,6 +52,5 @@ class Switch extends Component { } Switch.propTypes = propTypes; -Switch.displayName = 'Switch'; export default Switch; diff --git a/src/components/TextInputFocusable/index.ios.js b/src/components/TextInputFocusable/index.ios.js index 72c53a8ff8cd..24c9779a1530 100644 --- a/src/components/TextInputFocusable/index.ios.js +++ b/src/components/TextInputFocusable/index.ios.js @@ -84,7 +84,6 @@ class TextInputFocusable extends React.Component { } } -TextInputFocusable.displayName = 'TextInputFocusable'; TextInputFocusable.propTypes = propTypes; TextInputFocusable.defaultProps = defaultProps; diff --git a/src/components/VideoChatButtonAndMenu.js b/src/components/VideoChatButtonAndMenu.js index 4aa9c149bb86..32b5254b3a50 100755 --- a/src/components/VideoChatButtonAndMenu.js +++ b/src/components/VideoChatButtonAndMenu.js @@ -144,7 +144,7 @@ class VideoChatButtonAndMenu extends Component { VideoChatButtonAndMenu.propTypes = propTypes; VideoChatButtonAndMenu.defaultProps = defaultProps; -VideoChatButtonAndMenu.displayName = 'VideoChatButtonAndMenu'; + export default compose( withWindowDimensions, withLocalize, diff --git a/src/pages/ReimbursementAccount/RequestorStep.js b/src/pages/ReimbursementAccount/RequestorStep.js index 413c14646ab4..4c34fd782b59 100644 --- a/src/pages/ReimbursementAccount/RequestorStep.js +++ b/src/pages/ReimbursementAccount/RequestorStep.js @@ -272,7 +272,6 @@ class RequestorStep extends React.Component { } RequestorStep.propTypes = propTypes; -RequestorStep.displayName = 'RequestorStep'; export default compose( withLocalize, diff --git a/src/pages/ReportDetailsPage.js b/src/pages/ReportDetailsPage.js index 371805e80293..c17a5e24bb81 100644 --- a/src/pages/ReportDetailsPage.js +++ b/src/pages/ReportDetailsPage.js @@ -204,7 +204,6 @@ class ReportDetailsPage extends Component { } } -ReportDetailsPage.displayName = 'ReportDetailsPage'; ReportDetailsPage.propTypes = propTypes; export default compose( diff --git a/src/pages/RequestCallPage.js b/src/pages/RequestCallPage.js index 959cfc09a3f8..6ed3395b5c36 100644 --- a/src/pages/RequestCallPage.js +++ b/src/pages/RequestCallPage.js @@ -252,8 +252,8 @@ class RequestCallPage extends Component { } } -RequestCallPage.displayName = 'RequestCallPage'; RequestCallPage.propTypes = propTypes; + export default compose( withLocalize, withOnyx({ diff --git a/src/pages/SearchPage.js b/src/pages/SearchPage.js index 9e6aee3c7193..ce473549a0e2 100755 --- a/src/pages/SearchPage.js +++ b/src/pages/SearchPage.js @@ -190,7 +190,6 @@ class SearchPage extends Component { } SearchPage.propTypes = propTypes; -SearchPage.displayName = 'SearchPage'; export default compose( withLocalize, diff --git a/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js b/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js index ad8846eb6006..ffb11ae79f3a 100644 --- a/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js +++ b/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js @@ -286,6 +286,5 @@ class PopoverReportActionContextMenu extends React.Component { } PopoverReportActionContextMenu.propTypes = propTypes; -PopoverReportActionContextMenu.displayName = 'PopoverReportActionContextMenu'; export default withLocalize(PopoverReportActionContextMenu); diff --git a/src/pages/home/report/MarkerBadge/index.js b/src/pages/home/report/MarkerBadge/index.js index eb8680d402eb..d076a38d8a43 100644 --- a/src/pages/home/report/MarkerBadge/index.js +++ b/src/pages/home/report/MarkerBadge/index.js @@ -120,6 +120,5 @@ class MarkerBadge extends PureComponent { MarkerBadge.propTypes = propTypes; MarkerBadge.defaultProps = defaultProps; -MarkerBadge.displayName = 'MarkerBadge'; export default withLocalize(MarkerBadge); diff --git a/src/pages/home/report/ReportActionItemFragment.js b/src/pages/home/report/ReportActionItemFragment.js index a1cbda2fdc1a..e7a24d5ce6d0 100644 --- a/src/pages/home/report/ReportActionItemFragment.js +++ b/src/pages/home/report/ReportActionItemFragment.js @@ -120,7 +120,6 @@ class ReportActionItemFragment extends React.PureComponent { ReportActionItemFragment.propTypes = propTypes; ReportActionItemFragment.defaultProps = defaultProps; -ReportActionItemFragment.displayName = 'ReportActionItemFragment'; export default compose( withWindowDimensions, diff --git a/src/pages/home/report/ReportTypingIndicator.js b/src/pages/home/report/ReportTypingIndicator.js index 9e25d5627483..4973b88407a6 100755 --- a/src/pages/home/report/ReportTypingIndicator.js +++ b/src/pages/home/report/ReportTypingIndicator.js @@ -104,7 +104,6 @@ class ReportTypingIndicator extends React.Component { ReportTypingIndicator.propTypes = propTypes; ReportTypingIndicator.defaultProps = defaultProps; -ReportTypingIndicator.displayName = 'ReportTypingIndicator'; export default compose( withLocalize, diff --git a/src/pages/iou/IOUCurrencySelection.js b/src/pages/iou/IOUCurrencySelection.js index 2989532515df..bea865db7310 100644 --- a/src/pages/iou/IOUCurrencySelection.js +++ b/src/pages/iou/IOUCurrencySelection.js @@ -232,7 +232,6 @@ class IOUCurrencySelection extends Component { IOUCurrencySelection.propTypes = propTypes; IOUCurrencySelection.defaultProps = defaultProps; -IOUCurrencySelection.displayName = 'IOUCurrencySelection'; export default compose( withLocalize, diff --git a/src/pages/iou/IOUModal.js b/src/pages/iou/IOUModal.js index 93f1b1269fcd..8de18609f0f0 100755 --- a/src/pages/iou/IOUModal.js +++ b/src/pages/iou/IOUModal.js @@ -371,7 +371,6 @@ class IOUModal extends Component { IOUModal.propTypes = propTypes; IOUModal.defaultProps = defaultProps; -IOUModal.displayName = 'IOUModal'; export default compose( withLocalize, diff --git a/src/pages/iou/steps/IOUAmountPage.js b/src/pages/iou/steps/IOUAmountPage.js index 72482fee134d..386ac2930b79 100755 --- a/src/pages/iou/steps/IOUAmountPage.js +++ b/src/pages/iou/steps/IOUAmountPage.js @@ -222,7 +222,6 @@ class IOUAmountPage extends React.Component { } } -IOUAmountPage.displayName = 'IOUAmountPage'; IOUAmountPage.propTypes = propTypes; IOUAmountPage.defaultProps = defaultProps; diff --git a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js index 935bd9987195..0c57643eda64 100755 --- a/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js +++ b/src/pages/iou/steps/IOUParticipantsPage/IOUParticipantsRequest.js @@ -144,7 +144,6 @@ class IOUParticipantsRequest extends Component { } } -IOUParticipantsRequest.displayName = 'IOUParticipantsRequest'; IOUParticipantsRequest.propTypes = propTypes; export default compose( diff --git a/src/pages/settings/AddSecondaryLoginPage.js b/src/pages/settings/AddSecondaryLoginPage.js index 770381bcc9ef..67b784f01944 100755 --- a/src/pages/settings/AddSecondaryLoginPage.js +++ b/src/pages/settings/AddSecondaryLoginPage.js @@ -164,7 +164,6 @@ class AddSecondaryLoginPage extends Component { AddSecondaryLoginPage.propTypes = propTypes; AddSecondaryLoginPage.defaultProps = defaultProps; -AddSecondaryLoginPage.displayName = 'AddSecondaryLoginPage'; export default compose( withLocalize, diff --git a/src/pages/settings/PasswordPage.js b/src/pages/settings/PasswordPage.js index fb56b41cd539..a06624523fd4 100755 --- a/src/pages/settings/PasswordPage.js +++ b/src/pages/settings/PasswordPage.js @@ -196,7 +196,6 @@ class PasswordPage extends Component { } } -PasswordPage.displayName = 'PasswordPage'; PasswordPage.propTypes = propTypes; PasswordPage.defaultProps = defaultProps; diff --git a/src/pages/settings/Payments/AddDebitCardPage.js b/src/pages/settings/Payments/AddDebitCardPage.js index 57cfc5cef4d5..fa1c506f20fd 100644 --- a/src/pages/settings/Payments/AddDebitCardPage.js +++ b/src/pages/settings/Payments/AddDebitCardPage.js @@ -239,7 +239,6 @@ class DebitCardPage extends Component { DebitCardPage.propTypes = propTypes; DebitCardPage.defaultProps = defaultProps; -DebitCardPage.displayName = 'DebitCardPage'; export default compose( withLocalize, diff --git a/src/pages/settings/Profile/LoginField.js b/src/pages/settings/Profile/LoginField.js index 12539a1ae416..1c4c1d93e778 100755 --- a/src/pages/settings/Profile/LoginField.js +++ b/src/pages/settings/Profile/LoginField.js @@ -127,6 +127,5 @@ class LoginField extends Component { } LoginField.propTypes = propTypes; -LoginField.displayName = 'LoginField'; export default withLocalize(LoginField); diff --git a/src/pages/workspace/WorkspaceMembersPage.js b/src/pages/workspace/WorkspaceMembersPage.js index 37998a68a04c..fbf51ef90833 100644 --- a/src/pages/workspace/WorkspaceMembersPage.js +++ b/src/pages/workspace/WorkspaceMembersPage.js @@ -324,7 +324,6 @@ class WorkspaceMembersPage extends React.Component { WorkspaceMembersPage.propTypes = propTypes; WorkspaceMembersPage.defaultProps = defaultProps; -WorkspaceMembersPage.displayName = 'WorkspacePeoplePage'; export default compose( withLocalize, From f56ac5b665080ced37e8999109a470119959b4cf Mon Sep 17 00:00:00 2001 From: OSBotify Date: Mon, 25 Oct 2021 10:39:25 +0000 Subject: [PATCH 3/3] Update version to 1.1.8-17 --- android/app/build.gradle | 4 ++-- ios/NewExpensify/Info.plist | 2 +- ios/NewExpensifyTests/Info.plist | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index cba1a8c1211f..829239051b91 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -150,8 +150,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001010816 - versionName "1.1.8-16" + versionCode 1001010817 + versionName "1.1.8-17" } splits { abi { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index 35ea507e4068..eb81d968909b 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -31,7 +31,7 @@ CFBundleVersion - 1.1.8.16 + 1.1.8.17 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index 6c9a9d4f6305..2d45d94a6fed 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.1.8.16 + 1.1.8.17 diff --git a/package-lock.json b/package-lock.json index e5452c14c178..3bed9e8f96f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.8-16", + "version": "1.1.8-17", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b044f9f161f6..1bd064f3039a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.1.8-16", + "version": "1.1.8-17", "author": "Expensify, Inc.", "homepage": "https://new.expensify.com", "description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",