Fix #165: Fix blank screen after auth on Firefox.
This commit is contained in:
parent
2f6b43779f
commit
7f2368f9d6
|
@ -38,10 +38,8 @@ update msg ({ accountInfo } as model) =
|
||||||
Client decoded.server decoded.accessToken Nothing
|
Client decoded.server decoded.accessToken Nothing
|
||||||
in
|
in
|
||||||
{ model | clients = client :: model.clients }
|
{ model | clients = client :: model.clients }
|
||||||
! [ Command.loadTimelines <| Just client
|
! [ Command.saveClients <| client :: model.clients
|
||||||
, Command.saveClients <| client :: model.clients
|
, Navigation.load <| model.location.origin ++ model.location.pathname
|
||||||
, Navigation.modifyUrl model.location.pathname
|
|
||||||
, Navigation.reload
|
|
||||||
]
|
]
|
||||||
|
|
||||||
Err error ->
|
Err error ->
|
||||||
|
|
Loading…
Reference in New Issue