fix : remove error showing when put data there
CI / Verify (push) Successful in 1m8s
CI / Build immutable images and deploy (push) Successful in 1m54s

This commit is contained in:
2026-09-04 21:03:23 +07:00 Unverified
parent b3a2bb4627
commit c0d0e0c18f
+1 -1
View File
@@ -2232,7 +2232,7 @@ function TeamEditor({
const memberFieldInvalid = (teamIndex: number, memberIndex: number, field: string) =>
!validation.success && validation.error.issues.some((issue) =>
issue.path[0] === "teams" && issue.path[1] === teamIndex && issue.path[2] === "members" &&
(issue.path[3] === memberIndex && issue.path[4] === field || issue.path.length === 3),
issue.path[3] === memberIndex && issue.path[4] === field,
);
const localDraft = { teams };
useEffect(() => {