feat: setup congrats page.

This commit is contained in:
Ahmed Bouhuolia
2020-10-14 17:49:27 +02:00
parent f9f517ae51
commit 5b9b5fc3a7
12 changed files with 267 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ function SetupOrganizationForm({
requestSubmitOptions,
requestOrganizationSeed,
wizard,
setOrganizationSetupCompleted
}) {
const { formatMessage } = useIntl();
const [selected, setSelected] = useState();
@@ -183,6 +184,9 @@ function SetupOrganizationForm({
.then(() => {
return requestOrganizationSeed();
})
.then(() => {
return setOrganizationSetupCompleted(true);
})
.then((response) => {
wizard.next();
setSubmitting(false);