mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-20 02:57:05 +00:00
ui: Refactor update and setRoute with updateWith
This commit is contained in:
@@ -17,7 +17,7 @@ type alias Model =
|
||||
{ greeting : String }
|
||||
|
||||
|
||||
init : ( Model, Cmd Msg )
|
||||
init : ( Model, Cmd Msg, Session.Msg )
|
||||
init =
|
||||
let
|
||||
cmdGreeting =
|
||||
@@ -26,7 +26,7 @@ init =
|
||||
, expect = Http.expectString GreetingLoaded
|
||||
}
|
||||
in
|
||||
( Model "", cmdGreeting )
|
||||
( Model "", cmdGreeting, Session.none )
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user