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
|
||||
in
|
||||
{ model | clients = client :: model.clients }
|
||||
! [ Command.loadTimelines <| Just client
|
||||
, Command.saveClients <| client :: model.clients
|
||||
, Navigation.modifyUrl model.location.pathname
|
||||
, Navigation.reload
|
||||
! [ Command.saveClients <| client :: model.clients
|
||||
, Navigation.load <| model.location.origin ++ model.location.pathname
|
||||
]
|
||||
|
||||
Err error ->
|
||||
|
Loading…
Reference in New Issue
Block a user