Skip to content

Commit 8bacdd0

Browse files
[v3-0-test] Fix ErrorAlert white space (#50243) (#50246)
(cherry picked from commit c7c3bc7) Co-authored-by: Pierre Jeambrun <[email protected]>
1 parent bb6de6d commit 8bacdd0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

airflow-core/src/airflow/ui/src/components/ErrorAlert.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ export const ErrorAlert = ({ error: err }: Props) => {
4444
if (typeof details === "string") {
4545
detailMessage = details;
4646
} else if (Array.isArray(details)) {
47-
detailMessage = details.map(
48-
(detail) => `
49-
${detail.loc.join(".")} ${detail.msg}`,
50-
);
47+
detailMessage = details.map((detail) => `${detail.loc.join(".")} ${detail.msg}`);
5148
} else {
5249
detailMessage = Object.keys(details).map((key) => `${key}: ${details[key] as string}`);
5350
}

0 commit comments

Comments
 (0)