From d697f833a6d6d75f14faf744bf8c4225ce02c517 Mon Sep 17 00:00:00 2001 From: Bahar Date: Tue, 22 Feb 2022 14:11:35 +0330 Subject: [PATCH 1/7] landing_on_dtrader_responsive_page_frequently_after_clicking_cashier_or_settings_option --- .../Receipt/account-transfer-receipt.jsx | 31 +++++++++++-------- .../Modules/Reports/Containers/reports.jsx | 11 +++++-- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/packages/cashier/src/Components/Receipt/account-transfer-receipt.jsx b/packages/cashier/src/Components/Receipt/account-transfer-receipt.jsx index 3c4fceed3d40..9d30f5417c56 100644 --- a/packages/cashier/src/Components/Receipt/account-transfer-receipt.jsx +++ b/packages/cashier/src/Components/Receipt/account-transfer-receipt.jsx @@ -2,7 +2,7 @@ import PropTypes from 'prop-types'; import React from 'react'; import { withRouter } from 'react-router'; import { Button, Modal, Icon, Text } from '@deriv/components'; -import { formatMoney, getCurrencyDisplayCode, isMobile, routes } from '@deriv/shared'; +import { formatMoney, getCurrencyDisplayCode, isMobile, platforms, routes } from '@deriv/shared'; import { localize, Localize } from '@deriv/translations'; import { connect } from 'Stores/connect'; import 'Sass/account-transfer-receipt.scss'; @@ -12,6 +12,7 @@ const AccountTransferReceipt = ({ enableApp, history, loginid, + platform, receipt, resetAccountTransfer, selected_from, @@ -106,14 +107,16 @@ const AccountTransferReceipt = ({
-