diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-12-22 01:10:59 +0000 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-12-22 11:01:21 +0000 |
commit | 76a166736135a522a740b24d776a2e3b9656fdbd (patch) | |
tree | 75d7fa60c69f850dd2e46a386ae5ed3db0eb4438 /src/lustre.gleam | |
parent | fb0e3a9b1835dc30ba196ddb630f02f9d554978a (diff) | |
download | lustre-76a166736135a522a740b24d776a2e3b9656fdbd.tar.gz lustre-76a166736135a522a740b24d776a2e3b9656fdbd.zip |
:heavy_plus_sign: Upgrade to Gleam v0.33.0
Diffstat (limited to 'src/lustre.gleam')
-rw-r--r-- | src/lustre.gleam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lustre.gleam b/src/lustre.gleam index 523fce4..0c3f2ec 100644 --- a/src/lustre.gleam +++ b/src/lustre.gleam @@ -4,7 +4,7 @@ // IMPORTS --------------------------------------------------------------------- import gleam/dynamic.{type Decoder} -import gleam/map.{type Map} +import gleam/dict.{type Dict} import lustre/effect.{type Effect} import lustre/element.{type Element} @@ -81,7 +81,7 @@ pub fn component( _init: fn() -> #(model, Effect(msg)), _update: fn(model, msg) -> #(model, Effect(msg)), _view: fn(model) -> Element(msg), - _on_attribute_change: Map(String, Decoder(msg)), + _on_attribute_change: Dict(String, Decoder(msg)), ) -> Result(Nil, Error) { Ok(Nil) } |