aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4ee2f77..330a807 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ import lustre/event.{on_click}
pub fn main() {
let app = lustre.simple(init, update, view)
- let assert Ok(_) = lustre.start("[data-lustre-app]", Nil)
+ let assert Ok(_) = lustre.start(app, "[data-lustre-app]", Nil)
Nil
}