From a54e2073c545cc35a73268fc88c24693dbe4b5e0 Mon Sep 17 00:00:00 2001 From: David Johnson <875324+dmjio@users.noreply.github.com> Date: Mon, 25 May 2026 07:08:22 -0500 Subject: [PATCH 1/2] Use 1.11.0 and `props` --- app/Main.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Main.hs b/app/Main.hs index 2f4a6ae..fd5f1b6 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -37,7 +37,7 @@ app = (component 0 updateModel viewModel) { styles = [ Sheet sheet ] } ----------------------------------------------------------------------------- -updateModel :: Action -> Effect parent Int Action +updateModel :: Action -> Effect parent props Int Action updateModel = \case AddOne -> this += 1 @@ -46,8 +46,8 @@ updateModel = \case SayHelloWorld -> io_ (consoleLog "Hello World!") ----------------------------------------------------------------------------- -viewModel :: Int -> View Int Action -viewModel x = H.div_ +viewModel :: props -> Int -> View Int Action +viewModel _ x = H.div_ [ P.class_ "counter-container" ] [ H.h1_ [ P.class_ "counter-title" From 988f24d55b56208e1feae93936df83ba445388eb Mon Sep 17 00:00:00 2001 From: David Johnson <875324+dmjio@users.noreply.github.com> Date: Mon, 25 May 2026 07:09:06 -0500 Subject: [PATCH 2/2] Update Miso package tag to version `1.11.0` --- cabal.project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal.project b/cabal.project index 6aa6f1b..4e4bf72 100644 --- a/cabal.project +++ b/cabal.project @@ -7,6 +7,6 @@ allow-newer: source-repository-package type: git location: https://github.com/dmjio/miso - tag: 1.10.0 + tag: 1.11.0 flags: +template-haskell