diff --git a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js index b5ef196ff100..60107f7926fa 100644 --- a/src/pages/ReimbursementAccount/ReimbursementAccountPage.js +++ b/src/pages/ReimbursementAccount/ReimbursementAccountPage.js @@ -5,12 +5,10 @@ import {withOnyx} from 'react-native-onyx'; import Str from 'expensify-common/lib/str'; import {View} from 'react-native'; import PropTypes from 'prop-types'; -import Log from '../../libs/Log'; import ScreenWrapper from '../../components/ScreenWrapper'; import * as BankAccounts from '../../libs/actions/BankAccounts'; import ONYXKEYS from '../../ONYXKEYS'; import ReimbursementAccountLoadingIndicator from '../../components/ReimbursementAccountLoadingIndicator'; -import Permissions from '../../libs/Permissions'; import Navigation from '../../libs/Navigation/Navigation'; import CONST from '../../CONST'; import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize'; @@ -33,9 +31,6 @@ import reimbursementAccountPropTypes from './reimbursementAccountPropTypes'; import WorkspaceResetBankAccountModal from '../workspace/WorkspaceResetBankAccountModal'; const propTypes = { - /** List of betas */ - betas: PropTypes.arrayOf(PropTypes.string).isRequired, - /** ACH data for the withdrawal account actively being set up */ reimbursementAccount: reimbursementAccountPropTypes, @@ -145,12 +140,6 @@ class ReimbursementAccountPage extends React.Component { } render() { - if (!Permissions.canUseFreePlan(this.props.betas)) { - Log.info('Not showing new bank account page because user is not on free plan beta'); - Navigation.dismissModal(); - return null; - } - // The SetupWithdrawalAccount flow allows us to continue the flow from various points depending on where the // user left off. This view will refer to the achData as the single source of truth to determine which route to // display. We can also specify a specific route to navigate to via route params when the component first @@ -250,9 +239,6 @@ export default compose( session: { key: ONYXKEYS.SESSION, }, - betas: { - key: ONYXKEYS.BETAS, - }, plaidLinkToken: { key: ONYXKEYS.PLAID_LINK_TOKEN, },