Skip to content

Commit 79711a0

Browse files
committed
Format for toasts
1 parent bdc95ba commit 79711a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/herbie/lib/herbiejs.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ const getHerbieApi = async (
9090
if (warnings) {
9191
for (const [type, message, link, details] of warnings) {
9292
showErrorToast(
93-
`Warning: ${type}\nMessage: ${message}\nDetails: ${details.join(", ")}\nMore info: ${link}`
93+
`Warning: ${type}\n
94+
Message: ${message}\n
95+
Details: ${details.join(", ")}\n
96+
More info: ${link}`
9497
);
9598
}
9699
}

0 commit comments

Comments
 (0)