diff options
author | Alex Houseago <41902631+ahouseago@users.noreply.github.com> | 2024-02-25 23:09:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-25 23:09:42 +0000 |
commit | 47028efa57348d92bbd43a3ff2eb32c1d7e29766 (patch) | |
tree | 2e7edac168ece04242e3e15a50a4d28e69152650 | |
parent | 719cc9b51de65206d0d31f677fd45a9f1e886fdd (diff) | |
download | lustre-47028efa57348d92bbd43a3ff2eb32c1d7e29766.tar.gz lustre-47028efa57348d92bbd43a3ff2eb32c1d7e29766.zip |
✏️ Fix typos in quickstart guide (#47)
Co-authored-by: Alex Houseago <ahouseago@gmail.com>
-rw-r--r-- | docs/guide/01-quickstart.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/01-quickstart.md b/docs/guide/01-quickstart.md index 001e728..b0b61fb 100644 --- a/docs/guide/01-quickstart.md +++ b/docs/guide/01-quickstart.md @@ -256,7 +256,7 @@ pub fn main() { } ``` -If you edited your previous counter app, you'll notice the prorgam no longer +If you edited your previous counter app, you'll notice the program no longer compiles. Specifically, the type of our `init` and `update` functions are wrong for the new `lustre.application` constructor! @@ -297,7 +297,7 @@ pub type Msg { ``` Finally, we can modify our `update` function to also fetch a cat image when the -counter is incremeneted and handle the response: +counter is incremented and handle the response: ```gleam pub fn update(model: Model, msg: Msg) -> #(Model, effect.Effect(Msg)) { |