diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2024-05-19 17:44:58 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2024-05-19 17:44:58 +0100 |
commit | e42dfe1dc3bb5e936577bfd4ec0eae63cc7ea4dc (patch) | |
tree | 8cbccd8244ab8788ffd415081ac1ffcfd3c9081d /src | |
parent | 11e6552edb05772c6dd8baac2655a32ba64d2de5 (diff) | |
download | lustre-e42dfe1dc3bb5e936577bfd4ec0eae63cc7ea4dc.tar.gz lustre-e42dfe1dc3bb5e936577bfd4ec0eae63cc7ea4dc.zip |
:recycle: Don't convert width/height properties to strings.
Diffstat (limited to 'src')
-rw-r--r-- | src/lustre/attribute.gleam | 4 |
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) } /// |