Skip to content

Commit

Permalink
Merge pull request #13 from software-mansion-labs/ideal-nav/fix-props…
Browse files Browse the repository at this point in the history
…-for-WorkspaceNamePage

fix props for WorkspaceNamePage
  • Loading branch information
adamgrzybowski authored Dec 20, 2023
2 parents 2781ecc + 4d795d2 commit 06eedf9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/pages/workspace/WorkspaceNamePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import HeaderWithBackButton from '@components/HeaderWithBackButton';
import {withNetwork} from '@components/OnyxProvider';
import ScreenWrapper from '@components/ScreenWrapper';
import TextInput from '@components/TextInput';
import {withCurrentUserPersonalDetailsDefaultProps, withCurrentUserPersonalDetailsPropTypes} from '@components/withCurrentUserPersonalDetails';
import {withLocalizePropTypes} from '@components/withLocalize';
import withWindowDimensions from '@components/withWindowDimensions';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
Expand All @@ -19,16 +17,14 @@ import * as Policy from '@userActions/Policy';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import ROUTES from '@src/ROUTES';
import withPolicy from './withPolicy';
import withPolicy, {policyDefaultProps, policyPropTypes} from './withPolicy';

const propTypes = {
...withLocalizePropTypes,
...withCurrentUserPersonalDetailsPropTypes,
...policyPropTypes,
};

const defaultProps = {
...withCurrentUserPersonalDetailsDefaultProps,
isLoadingApp: true,
...policyDefaultProps,
};

function WorkspaceNamePage({policy}) {
Expand Down

0 comments on commit 06eedf9

Please sign in to comment.