Skip to content

Commit 313a0f4

Browse files
committed
Update ErrorMessage.js
1 parent 30768fd commit 313a0f4

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

frontend/components/ErrorMessage.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -571,16 +571,7 @@ const Motivation = ({ stacktrace }) => {
571571
return Math.random() < motivational_word_probability ? motivational_words[Math.floor(Math.random() * motivational_words.length)] : null
572572
}, [stacktrace])
573573

574-
return msg == null
575-
? null
576-
: html`<div
577-
class="dont-panic"
578-
onClick=${(e) => {
579-
window.open("https://discourse.julialang.org/", "_blank")?.focus()
580-
}}
581-
>
582-
${msg}
583-
</div>`
574+
return msg == null ? null : html`<div class="dont-panic">${msg}</div>`
584575
}
585576

586577
const get_erred_upstreams = (

0 commit comments

Comments
 (0)