Skip to content

Commit

Permalink
feat(SendEvm): new layout of step 2 edit fee
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielPrediger committed Jan 25, 2024
1 parent 2189aa8 commit 995307e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
12 changes: 1 addition & 11 deletions source/pages/Send/SendNTokenTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
verifyNetworkEIP1559Compatibility,
} from 'utils/index';

import { EditPriorityModal } from './EditPriority';
import { EditPriority } from './EditPriority'; //TODO

export const SendNTokenTransaction = () => {
const {
Expand Down Expand Up @@ -433,16 +433,6 @@ export const SendNTokenTransaction = () => {
}}
/>

<EditPriorityModal
showModal={isOpen}
setIsOpen={setIsOpen}
customFee={customFee}
setCustomFee={setCustomFee}
setHaveError={setHaveError}
fee={fee}
isSendLegacyTransaction={isLegacyTransaction}
/>

{tx.from && fee ? (
<div className="flex flex-col items-center justify-center w-full">
<p className="flex flex-col items-center justify-center text-center font-rubik">
Expand Down
11 changes: 1 addition & 10 deletions source/pages/Send/SendTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
TransactionDataComponent,
TransactionHexComponent,
} from './components';
import { EditPriorityModal } from './EditPriority';
import { EditPriority } from './EditPriority'; //TODO
import { tabComponents, tabElements } from './mockedComponentsData/mockedTabs';

export const SendTransaction = () => {
Expand Down Expand Up @@ -270,15 +270,6 @@ export const SendTransaction = () => {
}}
/>

<EditPriorityModal
showModal={isOpen}
setIsOpen={setIsOpen}
customFee={customFee}
setCustomFee={setCustomFee}
setHaveError={setHaveError}
fee={fee}
/>

{tx?.from ? (
<div className="flex flex-col items-center justify-center w-full">
<div className="flex flex-col items-center justify-center w-full text-center text-brand-white font-poppins ">
Expand Down

0 comments on commit 995307e

Please sign in to comment.