summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2022-01-07 19:35:38 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2022-01-07 19:35:38 +0100
commit127f9c3fe7190a4e5daebf63b6fad7dd75af3257 (patch)
tree2e2e37de651acee10ca87f548919c9073f6718f7 /src/ElmModule/Update.elm
parentb2d29a6ec8d55cebaae7cbff86375f05c77c2d11 (diff)
...
Diffstat (limited to 'src/ElmModule/Update.elm')
-rw-r--r--src/ElmModule/Update.elm6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ElmModule/Update.elm b/src/ElmModule/Update.elm
index d7617bd..9e45fde 100644
--- a/src/ElmModule/Update.elm
+++ b/src/ElmModule/Update.elm
@@ -1,7 +1,6 @@
module ElmModule.Update exposing (update)
-- Elm -------------------------------------------------------------------------
-import Html
-- Local Module ----------------------------------------------------------------
import Struct.Event
@@ -37,9 +36,8 @@ update event model =
(
{model |
ui =
- -- TODO: display the actual error.
- (Struct.UI.display_error
- (Html.text "Failed to load story")
+ (Struct.UI.display_string_error
+ "Failed to load story"
model.ui
)
},