aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErika Rowland <130414394+erikareads@users.noreply.github.com>2023-11-17 16:36:12 -0800
committerGitHub <noreply@github.com>2023-11-18 00:36:12 +0000
commit2067b58c301d92c1ecbd5045fd1da2b89a9fe6d7 (patch)
tree47d466407ccc8d4fefb5310cc9b529221658d3cd
parent5e95752a28edc1d0f6867313f31a6b6068478ba2 (diff)
downloadlustre-2067b58c301d92c1ecbd5045fd1da2b89a9fe6d7.tar.gz
lustre-2067b58c301d92c1ecbd5045fd1da2b89a9fe6d7.zip
✏️ Fix small typo in README example so that it works. (#20)
-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
}