diff --git a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js index 5e69f9657838..705c22aaaefb 100644 --- a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js +++ b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js @@ -6,7 +6,7 @@ import {withOnyx} from 'react-native-onyx'; import FloatingActionButton from '@components/FloatingActionButton'; import * as Expensicons from '@components/Icon/Expensicons'; import PopoverMenu from '@components/PopoverMenu'; -import withLocalize, {withLocalizePropTypes} from '@components/withLocalize'; +import {withLocalizePropTypes} from '@components/withLocalize'; import withNavigation from '@components/withNavigation'; import withNavigationFocus from '@components/withNavigationFocus'; import withWindowDimensions from '@components/withWindowDimensions'; diff --git a/src/pages/workspace/WorkspacesListPage.js b/src/pages/workspace/WorkspacesListPage.js index 9b1ddde26490..dd5359a39a7c 100755 --- a/src/pages/workspace/WorkspacesListPage.js +++ b/src/pages/workspace/WorkspacesListPage.js @@ -15,7 +15,6 @@ import OfflineWithFeedback from '@components/OfflineWithFeedback'; import {PressableWithoutFeedback} from '@components/Pressable'; import ScreenWrapper from '@components/ScreenWrapper'; import Text from '@components/Text'; -import withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsDefaultProps, withCurrentUserPersonalDetailsPropTypes} from '@components/withCurrentUserPersonalDetails'; import useLocalize from '@hooks/useLocalize'; import useNetwork from '@hooks/useNetwork'; import useTheme from '@hooks/useTheme'; @@ -66,15 +65,13 @@ const propTypes = { /** All reports shared with the user (coming from Onyx) */ reports: PropTypes.objectOf(reportPropTypes), - - ...withCurrentUserPersonalDetailsPropTypes, }; const defaultProps = { policies: {}, allPolicyMembers: {}, reimbursementAccount: {}, - ...withCurrentUserPersonalDetailsDefaultProps, + reports: {}, }; const workspaceFeatures = [