From 47028efa57348d92bbd43a3ff2eb32c1d7e29766 Mon Sep 17 00:00:00 2001 From: Alex Houseago <41902631+ahouseago@users.noreply.github.com> Date: Sun, 25 Feb 2024 23:09:42 +0000 Subject: =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20typos=20in=20quickstart=20gu?= =?UTF-8?q?ide=20(#47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alex Houseago --- docs/guide/01-quickstart.md | 4 ++-- 1 file 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)) { -- cgit v1.2.3