From df87bce0f4f2378398c39d8a4a68fec7520152f9 Mon Sep 17 00:00:00 2001 From: Guillaume Hivert Date: Sun, 19 May 2024 02:10:04 +0200 Subject: [PATCH] fix: missing the final parameter in render_parameters Signed-off-by: Guillaume Hivert --- apps/frontend/src/frontend/view/body/signature.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/frontend/view/body/signature.gleam b/apps/frontend/src/frontend/view/body/signature.gleam index d963cd8..df4cc97 100644 --- a/apps/frontend/src/frontend/view/body/signature.gleam +++ b/apps/frontend/src/frontend/view/body/signature.gleam @@ -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()