Make sure to try to persist on next tick

This commit is contained in:
Cássio Zen 2017-01-13 19:46:49 -02:00
parent 3306670459
commit 8c6bbed0cd

View File

@ -75,7 +75,9 @@ class EntryPage extends React.Component {
handlePersistEntry = () => {
const { persistEntry, collection } = this.props;
persistEntry(collection);
setTimeout(() => {
persistEntry(collection);
}, 0);
};
render() {