You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
Mark TODO for https://github.com/vector-im/riot-web/issues/4951
This commit is contained in:
@@ -187,6 +187,9 @@ Flair.propTypes = {
|
|||||||
userId: PropTypes.string,
|
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 = {
|
Flair.contextTypes = {
|
||||||
matrixClient: React.PropTypes.instanceOf(MatrixClient).isRequired,
|
matrixClient: React.PropTypes.instanceOf(MatrixClient).isRequired,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user