Integrating in Stepper first Step

This commit is contained in:
apanizo 2018-09-13 17:10:31 +02:00
parent fd06b48aa8
commit efb6203cc7
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import IconButton from '@material-ui/core/IconButton'
import Review from '~/routes/open/components/ReviewInformation'
import ChevronLeft from '@material-ui/icons/ChevronLeft'
import SafeFields, { safeFieldsValidation } from '~/routes/open/components/SafeForm'
import SafeNameField from '~/routes/open/components/SafeNameForm'
import { SAFELIST_ADDRESS } from '~/routes/routes'
import Link from '~/components/layout/Link'
import { secondary } from '~/theme/variables'
@ -58,6 +59,9 @@ const Layout = ({
steps={steps}
initialValues={initialValues}
>
<Stepper.Page>
{ SafeNameField }
</Stepper.Page>
<Stepper.Page validate={safeFieldsValidation}>
{ SafeFields }
</Stepper.Page>