diff --git a/packages/account/src/Components/poi/status/upload-complete/upload-complete.tsx b/packages/account/src/Components/poi/status/upload-complete/upload-complete.tsx index e0ed002c5e78..5be7bdde31b2 100644 --- a/packages/account/src/Components/poi/status/upload-complete/upload-complete.tsx +++ b/packages/account/src/Components/poi/status/upload-complete/upload-complete.tsx @@ -1,9 +1,7 @@ import React from 'react'; import { Icon, Text } from '@deriv/components'; -import { isNavigationFromP2P, isNavigationFromDerivGO } from '@deriv/shared'; import { localize } from '@deriv/translations'; import PoaButton from '../../../poa/poa-button'; -import { ContinueTradingButton } from '../../../poa/continue-trading-button/continue-trading-button'; import IconMessageContent from '../../../icon-message-content/icon-message-content'; import { TPOIStatus } from 'Types'; @@ -18,12 +16,10 @@ export const UploadComplete = ({ ? localize('We’ll review your documents and notify you of its status within 1 - 3 working days.') : localize('We’ll review your documents and notify you of its status within 5 minutes.'); - const is_redirected_from_platform = isNavigationFromP2P() || isNavigationFromDerivGO(); - if (!needs_poa) { return ( }> - {!is_from_external && (redirect_button || (!is_redirected_from_platform && ))} + {!is_from_external && redirect_button} ); }