WA-238 Include the go title and to properties in Open route component
This commit is contained in:
parent
2359ba640a
commit
fe7a936687
|
@ -5,6 +5,7 @@ import Stepper from '~/components/Stepper'
|
||||||
import Confirmation from '~/routes/open/components/FormConfirmation'
|
import Confirmation from '~/routes/open/components/FormConfirmation'
|
||||||
import Review from '~/routes/open/components/ReviewInformation'
|
import Review from '~/routes/open/components/ReviewInformation'
|
||||||
import SafeFields, { safeFieldsValidation } from '~/routes/open/components/SafeForm'
|
import SafeFields, { safeFieldsValidation } from '~/routes/open/components/SafeForm'
|
||||||
|
import { SAFELIST_ADDRESS } from '~/routes/routes'
|
||||||
|
|
||||||
const getSteps = () => [
|
const getSteps = () => [
|
||||||
'Fill Safe Form', 'Review Information', 'Deploy it',
|
'Fill Safe Form', 'Review Information', 'Deploy it',
|
||||||
|
@ -34,6 +35,8 @@ const Layout = ({
|
||||||
{ provider
|
{ provider
|
||||||
? (
|
? (
|
||||||
<Stepper
|
<Stepper
|
||||||
|
goPath={SAFELIST_ADDRESS}
|
||||||
|
goTitle="VISIT SAFES"
|
||||||
onSubmit={onCallSafeContractSubmit}
|
onSubmit={onCallSafeContractSubmit}
|
||||||
finishedTransaction={!!safeAddress}
|
finishedTransaction={!!safeAddress}
|
||||||
steps={steps}
|
steps={steps}
|
||||||
|
|
Loading…
Reference in New Issue