From 1c3c5482843cbe8db501f83f422d49bdfec8a309 Mon Sep 17 00:00:00 2001 From: apanizo Date: Mon, 24 Sep 2018 17:10:15 +0200 Subject: [PATCH] Removing old Name Section --- .../open/components/SafeForm/Name/index.jsx | 22 ------------------- src/routes/open/components/SafeForm/index.jsx | 6 +---- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 src/routes/open/components/SafeForm/Name/index.jsx diff --git a/src/routes/open/components/SafeForm/Name/index.jsx b/src/routes/open/components/SafeForm/Name/index.jsx deleted file mode 100644 index 1e806996..00000000 --- a/src/routes/open/components/SafeForm/Name/index.jsx +++ /dev/null @@ -1,22 +0,0 @@ -// @flow -import * as React from 'react' -import Field from '~/components/forms/Field' -import TextField from '~/components/forms/TextField' -import { required } from '~/components/forms/validator' -import Block from '~/components/layout/Block' -import { FIELD_NAME } from '~/routes/open/components/fields' - -const Name = () => ( - - - -) - -export default Name diff --git a/src/routes/open/components/SafeForm/index.jsx b/src/routes/open/components/SafeForm/index.jsx index b79d00a2..cda88e40 100644 --- a/src/routes/open/components/SafeForm/index.jsx +++ b/src/routes/open/components/SafeForm/index.jsx @@ -1,9 +1,7 @@ // @flow import * as React from 'react' import Block from '~/components/layout/Block' -import Heading from '~/components/layout/Heading' import { getAccountsFrom } from '~/routes/open/utils/safeDataExtractor' -import Name from './Name' import Owners from './Owners' import Confirmations from './Confirmations' import DailyLimit from './DailyLimit' @@ -20,10 +18,8 @@ export const safeFieldsValidation = (values: Object) => { return errors } -export default () => ({ values }: Object) => ( +export default () => (constrols: React$Node, { values }: Object) => ( - Deploy a new Safe -