improvements: address feedback

This commit is contained in:
Scott Wilson
2025-03-12 17:20:53 -07:00
parent 7415bb93b8
commit 76f34501dc
7 changed files with 23 additions and 9 deletions
@@ -8,10 +8,11 @@ import { createNotification } from "@app/components/notifications";
import { Button, FormControl, Input, Modal, ModalContent } from "@app/components/v2";
import { useCreateOrg, useSelectOrganization } from "@app/hooks/api";
import { ProjectType } from "@app/hooks/api/workspace/types";
import { GenericResourceNameSchema } from "@app/lib/schemas";
const schema = z
.object({
name: z.string().nonempty({ message: "Name is required" })
name: GenericResourceNameSchema.nonempty({ message: "Name is required" })
})
.required();