Fix #124: Reload page after successful OAuth registration.
This commit is contained in:
parent
474c400f09
commit
edf64977f2
|
@ -472,8 +472,9 @@ processMastodonEvent msg model =
|
||||||
in
|
in
|
||||||
{ model | client = Just client }
|
{ model | client = Just client }
|
||||||
! [ Command.loadTimelines <| Just client
|
! [ Command.loadTimelines <| Just client
|
||||||
, Navigation.modifyUrl model.location.pathname
|
|
||||||
, Command.saveClient client
|
, Command.saveClient client
|
||||||
|
, Navigation.modifyUrl model.location.pathname
|
||||||
|
, Navigation.reload
|
||||||
]
|
]
|
||||||
|
|
||||||
Err error ->
|
Err error ->
|
||||||
|
|
Loading…
Reference in New Issue