Skip to content

Commit 22a5ba4

Browse files
authored
Fix: display zod error messages properly (#1729)
1 parent e9d26b5 commit 22a5ba4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/components/ErrorMessage/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const ErrorMessage: React.FC<ErrorMessageProps> = ({ error }) => (
88
error?.stack?.error ||
99
error?.response?.data?.error ||
1010
error?.message ||
11+
error?.error ||
1112
'Unknown error'
1213
).toString()}
1314
</span>

0 commit comments

Comments
 (0)