B2B-30: fix typos, remove debug console

This commit is contained in:
devmc-ee
2025-06-16 09:00:27 +03:00
parent 6b884d0dd9
commit 39c02c6d34
3 changed files with 2 additions and 3 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -25,7 +25,6 @@ export const CompanyNameSchema = z
.max(50)
.refine(
(name) => {
console.log(name);
return !SPECIAL_CHARACTERS_REGEX.test(name);
},
{