Skip to content

Commit

Permalink
fix: missing the final parameter in render_parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Hivert <[email protected]>
  • Loading branch information
ghivert committed May 19, 2024
1 parent 5f593e8 commit df87bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/frontend/view/body/signature.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import lustre/element as el
import lustre/element/html as h

fn do_render_parameters(from: Int, to: Int, acc: List(el.Element(a))) {
use <- bool.guard(when: from == to, return: acc)
use <- bool.guard(when: from > to, return: acc)
let assert Ok(utf_a) =
string.to_utf_codepoints("a")
|> list.first()
Expand Down

0 comments on commit df87bce

Please sign in to comment.