Mark TODO for https://github.com/vector-im/riot-web/issues/4951
This commit is contained in:
parent
d84190f58d
commit
0ded4acba0
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,9 @@ Flair.propTypes = {
|
|||
userId: PropTypes.string,
|
||||
};
|
||||
|
||||
// TODO: We've decided that all components should follow this pattern, which means removing withMatrixClient and using
|
||||
// this.context.matrixClient everywhere instead of this.props.matrixClient.
|
||||
// See https://github.com/vector-im/riot-web/issues/4951.
|
||||
Flair.contextTypes = {
|
||||
matrixClient: React.PropTypes.instanceOf(MatrixClient).isRequired,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue