diff --git a/src/components/new-safe/create/steps/ReviewStep/index.tsx b/src/components/new-safe/create/steps/ReviewStep/index.tsx index d0bf3fb4a1..b5b1916f26 100644 --- a/src/components/new-safe/create/steps/ReviewStep/index.tsx +++ b/src/components/new-safe/create/steps/ReviewStep/index.tsx @@ -141,6 +141,7 @@ const ReviewStep = ({ data, onSubmit, onBack, setStep }: StepRenderProps() const isCounterfactualEnabled = useHasFeature(FEATURES.COUNTERFACTUAL) const ownerAddresses = useMemo(() => data.owners.map((owner) => owner.address), [data.owners]) @@ -180,7 +181,12 @@ const ReviewStep = ({ data, onSubmit, onBack, setStep }: StepRenderProps { - if (!wallet || !provider || !chain || !deployProps) return + if (!wallet || !provider || !chain) return + + if (!deployProps) { + setSubmitError('Error creating the Safe Account. Please try again later.') + return + } const props = deployProps.deploySafeProps const saltNonce = deployProps.saltNonce @@ -291,6 +297,7 @@ const ReviewStep = ({ data, onSubmit, onBack, setStep }: StepRenderProps + {submitError && {submitError}}