WA-232 Passing symbol as a prop in SendToken's review tx component

This commit is contained in:
apanizo 2018-07-05 11:34:02 +02:00
parent fb8c48b6b1
commit c6995ad8fb
1 changed files with 5 additions and 1 deletions

View File

@ -12,11 +12,15 @@ type FormProps = {
submitting: boolean,
}
type Props = {
symbol: string
}
const spinnerStyle = {
minHeight: '50px',
}
const ReviewTx = (symbol: string) => ({ values, submitting }: FormProps) => (
const ReviewTx = ({ symbol }: Props) => ({ values, submitting }: FormProps) => (
<Block>
<Heading tag="h2">Review the move token funds</Heading>
<Paragraph align="left">