mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 03:57:04 +00:00
ExpandedTx
This commit is contained in:
parent
877cf5ea4b
commit
7373c4afac
@ -10,6 +10,7 @@ import RejectTxModal from './RejectTxModal'
|
|||||||
import TxDescription from './TxDescription'
|
import TxDescription from './TxDescription'
|
||||||
import { styles } from './style'
|
import { styles } from './style'
|
||||||
|
|
||||||
|
import { Transaction } from 'src/routes/safe/store/models/types/transaction'
|
||||||
import { getNetwork } from 'src/config'
|
import { getNetwork } from 'src/config'
|
||||||
import Block from 'src/components/layout/Block'
|
import Block from 'src/components/layout/Block'
|
||||||
import Bold from 'src/components/layout/Bold'
|
import Bold from 'src/components/layout/Bold'
|
||||||
@ -29,7 +30,12 @@ import { TransactionTypes } from 'src/routes/safe/store/models/types/transaction
|
|||||||
|
|
||||||
const useStyles = makeStyles(styles as any)
|
const useStyles = makeStyles(styles as any)
|
||||||
|
|
||||||
const ExpandedTx = ({ cancelTx, tx }) => {
|
type Props = {
|
||||||
|
cancelTx: Transaction
|
||||||
|
tx: Transaction
|
||||||
|
}
|
||||||
|
|
||||||
|
const ExpandedTx = ({ cancelTx, tx }: Props): React.ReactElement => {
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
const nonce = useSelector(safeNonceSelector)
|
const nonce = useSelector(safeNonceSelector)
|
||||||
const threshold = useSelector(safeThresholdSelector)
|
const threshold = useSelector(safeThresholdSelector)
|
||||||
|
@ -48,6 +48,7 @@ export type TransactionProps = {
|
|||||||
executionTxHash?: string | null
|
executionTxHash?: string | null
|
||||||
executor: string
|
executor: string
|
||||||
factoryAddress: string
|
factoryAddress: string
|
||||||
|
fee: string | null // It will be replace with the new TXs types.
|
||||||
gasPrice: string
|
gasPrice: string
|
||||||
gasToken: string
|
gasToken: string
|
||||||
isCancellationTx: boolean
|
isCancellationTx: boolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user