Skip to content

Commit

Permalink
[error-modal] Update titles
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Jul 24, 2024
1 parent ee2e901 commit 2794321
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/re_com/error_modal.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
theme
header footer heading]
:or {title "Sorry, you've hit a bug"
what-happened-title "What Happened?"
what-happened-title "What Just Happened?"
implications-title "Implications"
what-to-do-title "What Should I Do?"
what-to-do-title "What Should You Do Now?"
details-title "Low-level Details (for developers):"
severity :error
closeable? true}
Expand Down Expand Up @@ -120,10 +120,11 @@
(when (or details error context)
[:<>
[u/part heading
(themed ::sub-title {:label details-title :level :level3}) text/title]
(themed ::sub-title {:label details-title :level :level4}) [:strong {:style {:font-size "12px"}} details-title]]
[u/part details args]
[u/part error (themed ::error args)]
[u/part context (themed ::context args)]])

(when footer
[u/part footer args])]})]]})]})]))

0 comments on commit 2794321

Please sign in to comment.