1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Split into generic and app-specific reducer

This commit is contained in:
Laurent Cozic
2017-11-06 18:05:12 +00:00
parent 7f625051ba
commit d763b13e44
3 changed files with 125 additions and 109 deletions

View File

@ -44,8 +44,8 @@ class NoteBodyViewer extends Component {
const onCheckboxChange = this.props.onCheckboxChange;
const mdOptions = {
onResourceLoaded: function() {
this.forceUpdated();
onResourceLoaded: () => {
this.forceUpdate();
},
};