aboutsummaryrefslogtreecommitdiff
path: root/src/lustre.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'src/lustre.gleam')
-rw-r--r--src/lustre.gleam4
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)
}