Fixing admin wizard step done (#6954)
parent
15da690270
commit
4d54ac3ca2
|
@ -15,7 +15,14 @@ export const AdminUserContainer = (props: React.ComponentProps<typeof AdminUser>
|
||||||
const { t } = useLocale();
|
const { t } = useLocale();
|
||||||
if (props.userCount > 0)
|
if (props.userCount > 0)
|
||||||
return (
|
return (
|
||||||
<form id="wizard-step-1" name="wizard-step-1" className="space-y-4" onSubmit={props.onSuccess}>
|
<form
|
||||||
|
id="wizard-step-1"
|
||||||
|
name="wizard-step-1"
|
||||||
|
className="space-y-4"
|
||||||
|
onSubmit={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
props.onSuccess();
|
||||||
|
}}>
|
||||||
<EmptyScreen
|
<EmptyScreen
|
||||||
Icon={FiUserCheck}
|
Icon={FiUserCheck}
|
||||||
headline={t("admin_user_created")}
|
headline={t("admin_user_created")}
|
||||||
|
|
Loading…
Reference in New Issue