B2B-30: fix typos, remove debug console
This commit is contained in:
@@ -53,7 +53,7 @@ export function AdminCreateCompanyDialog(props: React.PropsWithChildren) {
|
||||
const error = await createCompanyAccountAction(data);
|
||||
|
||||
if (!error) {
|
||||
toast.success('Company creates successfully');
|
||||
toast.success('Company created successfully');
|
||||
form.reset();
|
||||
|
||||
setOpen(false);
|
||||
|
||||
@@ -58,7 +58,7 @@ export function AdminCreateUserDialog(props: React.PropsWithChildren) {
|
||||
const result = await createUserAction(data);
|
||||
|
||||
if (result.success) {
|
||||
toast.success('User creates successfully');
|
||||
toast.success('User created successfully');
|
||||
form.reset();
|
||||
|
||||
setOpen(false);
|
||||
|
||||
Reference in New Issue
Block a user