Skip to content

Commit

Permalink
Update ErrorMessage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Nov 7, 2024
1 parent 30768fd commit 313a0f4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions frontend/components/ErrorMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,16 +571,7 @@ const Motivation = ({ stacktrace }) => {
return Math.random() < motivational_word_probability ? motivational_words[Math.floor(Math.random() * motivational_words.length)] : null
}, [stacktrace])

return msg == null
? null
: html`<div
class="dont-panic"
onClick=${(e) => {
window.open("https://discourse.julialang.org/", "_blank")?.focus()
}}
>
${msg}
</div>`
return msg == null ? null : html`<div class="dont-panic">${msg}</div>`
}

const get_erred_upstreams = (
Expand Down

0 comments on commit 313a0f4

Please sign in to comment.