There was an error while loading. Please reload this page.
1 parent e55f7a1 commit 93e7cddCopy full SHA for 93e7cdd
1 file changed
src/Main.hs
@@ -54,7 +54,7 @@ foreign export javascript "hs_start" main :: IO ()
54
----------------------------------------------------------------------------
55
-- | Main entry point
56
main :: IO ()
57
-main = run (startApp app)
+main = startApp app
58
59
-- | Custom styling
60
css :: MisoString
@@ -88,7 +88,7 @@ app = (component (Model mempty) updateModel viewModel)
88
#endif
89
90
-- | Update function
91
-updateModel :: Action -> Transition Model Action
+updateModel :: Action -> Effect ROOT Model Action
92
updateModel = \case
93
ReadFile input ->
94
M.withSink $ \sink -> do
0 commit comments