aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lustre/attribute.gleam4
1 files changed, 2 insertions, 2 deletions
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)
}
///