Add left pad to Zod errors list

This commit is contained in:
2024-05-09 02:15:22 -05:00
parent f37e6f87a2
commit 31c8062715

View File

@@ -154,7 +154,7 @@ const useLookup = (warningHandler?: WarningHandler) => {
"Could not parse the response from the registry.", "Could not parse the response from the registry.",
...flatErrors.formErrors, ...flatErrors.formErrors,
...Object.values(flatErrors.fieldErrors).flat(), ...Object.values(flatErrors.fieldErrors).flat(),
].join('\n'))); ].join('\n\t')));
} }
return Result.ok(result.data); return Result.ok(result.data);