Skip to content

Commit

Permalink
Disable adding of a bank account
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Dec 2, 2024
1 parent 73bd129 commit 2e36205
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ui/page/settingsStripeAccount/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Card from 'component/common/card';
import Page from 'component/page';
import I18nMessage from 'component/i18nMessage';
import Spinner from 'component/spinner';
import ButtonStripeConnectAccount from 'component/buttonStripeConnectAccount';

import * as ICONS from 'constants/icons';
import * as PAGES from 'constants/pages';
Expand Down Expand Up @@ -112,12 +111,13 @@ const StripeAccountConnection = (props: Props) => {
</div>
) : (
<div className="card__body-actions">
<h3>{__('Connect your bank account to Odysee to receive donations directly from users')}</h3>
<h3>{__('Adding a bank account has been disabled.')}</h3>
</div>
)
}
actions={
chargesEnabled && !accountRequiresVerification ? (
chargesEnabled &&
!accountRequiresVerification && (
<>
<Button
button="secondary"
Expand All @@ -135,8 +135,6 @@ const StripeAccountConnection = (props: Props) => {
/>
)}
</>
) : (
<ButtonStripeConnectAccount />
)
}
/>
Expand Down

0 comments on commit 2e36205

Please sign in to comment.