diff options
Diffstat (limited to 'src/client/elm/Main.elm')
-rw-r--r-- | src/client/elm/Main.elm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/elm/Main.elm b/src/client/elm/Main.elm index e8bbd54..7d13376 100644 --- a/src/client/elm/Main.elm +++ b/src/client/elm/Main.elm @@ -29,7 +29,10 @@ app : App Model app = StartApp.start { init = ( initialModel initialTime translations config - , Effects.task Server.initViewAction + , Server.init + |> Task.map GoLoggedInView + |> flip Task.onError (always <| Task.succeed GoSignInView) + |> Effects.task ) , view = view , update = update |