1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 19:17:01 +00:00

ui: Refactor update and setRoute with updateWith

This commit is contained in:
James Hillyerd
2018-11-22 22:02:01 -08:00
parent 0c9cf81c94
commit e71377f966
5 changed files with 69 additions and 87 deletions

View File

@@ -27,9 +27,9 @@ type MonitorMessage
| Message MessageHeader
init : ( Model, Cmd Msg )
init : ( Model, Cmd Msg, Session.Msg )
init =
( Model False [], Ports.monitorCommand True )
( Model False [], Ports.monitorCommand True, Session.none )