Fix "react error on share dialog" (#8170)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Yaya Usman
2022-03-28 19:58:57 +03:00
committed by GitHub
parent d2b97e251e
commit afa60acbf1

View File

@@ -155,7 +155,7 @@ export default class ShareDialog extends React.PureComponent<IProps, IState> {
checkbox = <div>
<StyledCheckbox
checked={this.state.linkSpecificEvent}
onClick={this.onLinkSpecificEventCheckboxClick}
onChange={this.onLinkSpecificEventCheckboxClick}
>
{ _t('Link to selected message') }
</StyledCheckbox>