From ec4f175f7383e7e377020ac85bf709e56be976f6 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 2 Oct 2024 19:06:02 +0530 Subject: [PATCH] feat: added a default empty array for create-identity --- .../OrgIdentityTab/components/IdentitySection/IdentityModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx index 5663c26d5..5ef293b97 100644 --- a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx +++ b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityModal.tsx @@ -36,6 +36,7 @@ const schema = z value: z.string().trim().min(1) }) .array() + .default([]) .optional() }) .required();