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
pull/21833/head
Travis Ralston 2020-01-16 09:40:11 -07:00
parent cad9562f8d
commit 869fd0b2c9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export default createReactClass({
if (viewUserOnClick) {
onClick = () => {
dispatcher.dispatch({
dis.dispatch({
action: 'view_user',
member: this.props.member,
});