You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
s/onClick/onChange on checkbox to make React happy
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -69,7 +69,7 @@ export default React.createClass({
|
|||||||
render() {
|
render() {
|
||||||
const GroupTile = sdk.getComponent('groups.GroupTile');
|
const GroupTile = sdk.getComponent('groups.GroupTile');
|
||||||
const input = <input type="checkbox"
|
const input = <input type="checkbox"
|
||||||
onClick={this._onPublicityToggle}
|
onChange={this._onPublicityToggle}
|
||||||
checked={this.state.isGroupPublicised}
|
checked={this.state.isGroupPublicised}
|
||||||
/>;
|
/>;
|
||||||
const labelText = !this.state.ready ? _t("Loading...") :
|
const labelText = !this.state.ready ? _t("Loading...") :
|
||||||
|
|||||||
Reference in New Issue
Block a user