From 127f9c3fe7190a4e5daebf63b6fad7dd75af3257 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Fri, 7 Jan 2022 19:35:38 +0100 Subject: ... --- src/ElmModule/Update.elm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ElmModule/Update.elm') 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 ) }, -- cgit v1.2.3-70-g09d2