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:
Travis Ralston 2020-01-16 09:40:11 -07:00
parent cad9562f8d
commit 869fd0b2c9

View file

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