From c6995ad8fb112a06c6b38ff73ebd3b69b3213c63 Mon Sep 17 00:00:00 2001 From: apanizo Date: Thu, 5 Jul 2018 11:34:02 +0200 Subject: [PATCH] WA-232 Passing symbol as a prop in SendToken's review tx component --- src/routes/safe/component/SendToken/ReviewTx/index.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/routes/safe/component/SendToken/ReviewTx/index.jsx b/src/routes/safe/component/SendToken/ReviewTx/index.jsx index 0463b769..950c34ee 100644 --- a/src/routes/safe/component/SendToken/ReviewTx/index.jsx +++ b/src/routes/safe/component/SendToken/ReviewTx/index.jsx @@ -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) => ( Review the move token funds