ExpandedTx - creation

This commit is contained in:
nicosampler 2020-08-03 12:38:02 -03:00
parent 1bd028b97a
commit 877cf5ea4b
1 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import React from 'react'
import { AddressInfo } from '@gnosis.pm/safe-react-components' import { AddressInfo } from '@gnosis.pm/safe-react-components'
import { getNetwork } from 'src/config' import { getNetwork } from 'src/config'
import { Transaction } from 'src/routes/safe/store/models/types/transaction'
import { formatDate } from 'src/routes/safe/components/Transactions/TxsTable/columns' import { formatDate } from 'src/routes/safe/components/Transactions/TxsTable/columns'
import Bold from 'src/components/layout/Bold' import Bold from 'src/components/layout/Bold'
import Paragraph from 'src/components/layout/Paragraph' import Paragraph from 'src/components/layout/Paragraph'
@ -23,7 +24,11 @@ const useStyles = makeStyles({
}, },
}) })
export const CreationTx = ({ tx }) => { type Props = {
tx: Transaction
}
export const CreationTx = ({ tx }: Props): React.ReactElement => {
const classes = useStyles() const classes = useStyles()
if (!tx) { if (!tx) {