From 790619083dc22a0e1a5c3a713a20add372de3aa5 Mon Sep 17 00:00:00 2001 From: Mathias Biilmann Christensen Date: Tue, 15 Nov 2016 17:21:33 -0800 Subject: [PATCH] Fix cms hanging when going to new entry page --- src/containers/EntryPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);