Skip to content

Commit

Permalink
Resolving conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
VSaric committed Jan 12, 2023
1 parent 83ab9bd commit 2c924a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export default class ConfirmPageContainer extends Component {
origin: PropTypes.string.isRequired,
ethGasPriceWarning: PropTypes.string,
networkIdentifier: PropTypes.string,
txData: PropTypes.object,
// Footer
onCancelAll: PropTypes.func,
onCancel: PropTypes.func,
Expand Down Expand Up @@ -168,7 +167,6 @@ export default class ConfirmPageContainer extends Component {
accountBalance,
assetStandard,
isApprovalOrRejection,
txData,
} = this.props;

const shouldDisplayWarning =
Expand All @@ -193,7 +191,7 @@ export default class ConfirmPageContainer extends Component {
return (
<GasFeeContextProvider transaction={currentTransaction}>
<div className="page-container" data-testid="page-container">
<ConfirmPageContainerNavigation txData={txData} />
<ConfirmPageContainerNavigation />
{assetStandard === ERC20 ||
assetStandard === ERC721 ||
assetStandard === ERC1155 ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ export default class SignatureRequestOriginal extends Component {
conversionRate,
nativeCurrency,
fromAccount: { address, balance, name },
txData,
} = this.props;
const { showSignatureRequestWarning } = this.state;
const { t } = this.context;
Expand All @@ -298,7 +297,7 @@ export default class SignatureRequestOriginal extends Component {
return (
<div className="request-signature__container">
<div className="request-signature__navigation">
<ConfirmPageContainerNavigation txData={txData} />
<ConfirmPageContainerNavigation />
</div>
<div className="request-signature__account">
<NetworkAccountBalanceHeader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default class SignatureRequest extends PureComponent {

return (
<div className="signature-request">
<ConfirmPageContainerNavigation txData={txData} />
<ConfirmPageContainerNavigation />
<div className="request-signature__account">
<NetworkAccountBalanceHeader
networkName={currentNetwork}
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/token-allowance/token-allowance.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export default function TokenAllowance({
return (
<Box className="token-allowance-container page-container">
<Box>
<ConfirmPageContainerNavigation txData={fullTxData} />
<ConfirmPageContainerNavigation />
</Box>
<Box
paddingLeft={4}
Expand Down

0 comments on commit 2c924a0

Please sign in to comment.