From e42dfe1dc3bb5e936577bfd4ec0eae63cc7ea4dc Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Sun, 19 May 2024 17:44:58 +0100 Subject: :recycle: Don't convert width/height properties to strings. --- src/lustre/attribute.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam index 90b7963..693e538 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -263,12 +263,12 @@ pub fn src(uri: String) -> Attribute(msg) { /// pub fn height(val: Int) -> Attribute(msg) { - property("height", int.to_string(val)) + property("height", val) } /// pub fn width(val: Int) -> Attribute(msg) { - property("width", int.to_string(val)) + property("width", val) } /// -- cgit v1.2.3