mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
WA-232 Passing symbol as a prop in SendToken's review tx component
This commit is contained in:
parent
fb8c48b6b1
commit
c6995ad8fb
@ -12,11 +12,15 @@ type FormProps = {
|
|||||||
submitting: boolean,
|
submitting: boolean,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
symbol: string
|
||||||
|
}
|
||||||
|
|
||||||
const spinnerStyle = {
|
const spinnerStyle = {
|
||||||
minHeight: '50px',
|
minHeight: '50px',
|
||||||
}
|
}
|
||||||
|
|
||||||
const ReviewTx = (symbol: string) => ({ values, submitting }: FormProps) => (
|
const ReviewTx = ({ symbol }: Props) => ({ values, submitting }: FormProps) => (
|
||||||
<Block>
|
<Block>
|
||||||
<Heading tag="h2">Review the move token funds</Heading>
|
<Heading tag="h2">Review the move token funds</Heading>
|
||||||
<Paragraph align="left">
|
<Paragraph align="left">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user