Skip to content

Commit

Permalink
Fixed a bug where the pencil icon appeared outside of instructor mode
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoy committed Oct 6, 2024
1 parent bf68618 commit 746a54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/haz3lweb/view/ExerciseMode.re
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ let view =
let prompt_view = {
let (msg, _) =
ExplainThis.mk_translation(~inject=Some(inject), eds.prompt);
let msg =
let new_msg =
msg
@ [
div(
Expand Down Expand Up @@ -119,7 +119,7 @@ let view =
),
],
)
: div(~attrs=[Attr.class_("prompt-content")], msg)
: div(~attrs=[Attr.class_("prompt-content")], new_msg)
: div(~attrs=[Attr.class_("prompt-content")], msg),
],
),
Expand Down

0 comments on commit 746a54b

Please sign in to comment.