Skip to content

Commit 2483362

Browse files
author
Nabi
committed
fix: only show reveal button when CVV is available
1 parent fa0a0a1 commit 2483362

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/settings/Wallet/TravelCVVPage/TravelCVVPage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import useThemeStyles from '@hooks/useThemeStyles';
1616
import useThrottledButtonState from '@hooks/useThrottledButtonState';
1717
import {resetValidateActionCodeSent} from '@libs/actions/User';
1818
import Clipboard from '@libs/Clipboard';
19-
import CopyTextToClipboard from '@components/CopyTextToClipboard';
2019
import Navigation from '@libs/Navigation/Navigation';
2120
import ONYXKEYS from '@src/ONYXKEYS';
2221
import ROUTES from '@src/ROUTES';
@@ -129,7 +128,7 @@ function TravelCVVPage() {
129128
style={[styles.mt10, styles.alignSelfCenter]}
130129
/>
131130
);
132-
} else if (!isSignedInAsDelegate) {
131+
} else if (!cvv && !isSignedInAsDelegate) {
133132
actionButton = (
134133
<Button
135134
text={translate('cardPage.cardDetails.revealDetails')}

0 commit comments

Comments
 (0)