From e0d0f73760decb9687f9c42f4de6876884c538b5 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 29 Aug 2017 00:09:54 -0700 Subject: [PATCH] Fix to renaming --- frontend/scenes/Document/components/Menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scenes/Document/components/Menu.js b/frontend/scenes/Document/components/Menu.js index 7732f3c6d..ae315d82c 100644 --- a/frontend/scenes/Document/components/Menu.js +++ b/frontend/scenes/Document/components/Menu.js @@ -38,7 +38,7 @@ type Props = { } if (confirm(msg)) { - await this.props.documents.delete(); + await this.props.document.delete(); this.props.history.push(this.props.document.collection.url); } };