Fix not being able to open profiles from the timeline
MemberAvatar was referencing the wrong dispatcher (it was imported as `dis`, like everywhere else, not `dispatcher`). Fixes https://github.com/vector-im/riot-web/issues/11887
This commit is contained in:
parent
cad9562f8d
commit
869fd0b2c9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export default createReactClass({
|
|||
|
||||
if (viewUserOnClick) {
|
||||
onClick = () => {
|
||||
dispatcher.dispatch({
|
||||
dis.dispatch({
|
||||
action: 'view_user',
|
||||
member: this.props.member,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue