Skip to content

Commit

Permalink
chore: add disclaimer (deriv-com#17356)
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-deriv authored Nov 4, 2024
1 parent f3474eb commit 5c3a038
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@
gap: 0.8rem;
}

&__disclaimer {
width: 100%;
&-message {
line-height: 2.2rem;
}
}

&__footer {
&--mobile {
text-align: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Button, Text, Modal, VideoPlayer } from '@deriv/components';
import { localize, Localize } from '@deriv/translations';
import { observer, useStore } from '@deriv/stores';
import { useWalletMigration } from '@deriv/hooks';
import { SectionMessage } from '@deriv-com/ui';
import {
getWalletMigrationVideoTranslations,
WALLET_MIGRATION_VIDEO_TRANSLATIONS,
Expand Down Expand Up @@ -91,6 +92,11 @@ const WalletsUpgradeModal = observer(() => {
/>
</Text>
</div>
<SectionMessage variant='info' className='wallets-upgrade-modal__disclaimer'>
<Text size='xs' className='wallets-upgrade-modal__disclaimer-message'>
<Localize i18n_default_text='Deriv P2P and Payment Agent services are currently unavailable for Wallets.' />
</Text>
</SectionMessage>
</div>
<div
className={classNames({
Expand Down

0 comments on commit 5c3a038

Please sign in to comment.