From d08be2e8e4f9baf2f381a138c783fb50bd6ffc7c Mon Sep 17 00:00:00 2001 From: Mikhail Mikheev Date: Fri, 26 Apr 2019 18:58:26 +0400 Subject: [PATCH] fix input spacings --- src/routes/load/components/DetailsForm/index.jsx | 3 +++ src/routes/open/components/SafeOwnersForm/index.jsx | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/routes/load/components/DetailsForm/index.jsx b/src/routes/load/components/DetailsForm/index.jsx index 234bbb8b..837966a6 100644 --- a/src/routes/load/components/DetailsForm/index.jsx +++ b/src/routes/load/components/DetailsForm/index.jsx @@ -26,6 +26,9 @@ const styles = () => ({ root: { display: 'flex', maxWidth: '460px', + '&:last-child': { + marginTop: '12px', + }, }, check: { color: '#03AE60', diff --git a/src/routes/open/components/SafeOwnersForm/index.jsx b/src/routes/open/components/SafeOwnersForm/index.jsx index 4ef98bab..fbfaef4a 100644 --- a/src/routes/open/components/SafeOwnersForm/index.jsx +++ b/src/routes/open/components/SafeOwnersForm/index.jsx @@ -98,10 +98,10 @@ class SafeOwners extends React.Component { } onRemoveRow = (index: number) => () => { - const { values } = this.props + const { values, updateInitialProps } = this.props const { numOwners } = this.state const initialValues = calculateValuesAfterRemoving(index, numOwners, values) - this.props.updateInitialProps(initialValues) + updateInitialProps(initialValues) this.setState(state => ({ @@ -132,7 +132,7 @@ class SafeOwners extends React.Component { ADDRESS - + { [...Array(Number(numOwners))].map((x, index) => { const addressName = getOwnerAddressBy(index)