mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-09 22:26:23 +02:00
Clarify comment
This commit is contained in:
parent
7045906d5d
commit
0ac997491e
@ -700,9 +700,10 @@ module.exports = React.createClass({
|
||||
// This now goes straight to user settings
|
||||
// We use _setPage since if we wait for
|
||||
// showScreen to do the dispatch loop,
|
||||
// we'll see the page type is still unset
|
||||
// when the MatrixClient is started and show
|
||||
// the Room Directory instead.
|
||||
// the showScreen dispatch will race with the
|
||||
// sdk sync finishing and we'll probably see
|
||||
// the page type still unset when the MatrixClient
|
||||
// is started and show the Room Directory instead.
|
||||
//this.showScreen("view_user_settings");
|
||||
this._setPage(this.PageTypes.UserSettings);
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user