mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 13:16:06 -06:00
Add left pad to Zod errors list
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user