feat: add slug validator for sub org creation

This commit is contained in:
=
2025-10-20 18:58:43 +05:30
parent 8824be431f
commit 2ec851fd34
4 changed files with 19 additions and 7 deletions
@@ -26,8 +26,7 @@ export const NewSubOrganizationForm = ({ onClose }: ContentProps) => {
formState: { isSubmitting }
} = useForm({
defaultValues: {
name: "",
invitees: []
name: ""
},
resolver: zodResolver(AddOrgSchema)
});