diff --git a/src/containers/EntryPage.js b/src/containers/EntryPage.js index f53ee14a..cce48003 100644 --- a/src/containers/EntryPage.js +++ b/src/containers/EntryPage.js @@ -40,7 +40,7 @@ class EntryPage extends React.Component { }; componentDidMount() { - const { entry, newEntry, collection, slug, loadEntry } = this.props; + const { entry, newEntry, collection, slug, loadEntry, createEmptyDraft } = this.props; this.props.openSidebar(); if (newEntry) { createEmptyDraft(collection);