From a2f7c511badb6da1f1b7812ea4636ee82a9feb3d Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Tue, 15 May 2018 12:08:22 -0400 Subject: move to graphql files --- frontend/components/TakeMyMoney.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/components') diff --git a/frontend/components/TakeMyMoney.js b/frontend/components/TakeMyMoney.js index 8efdb6b..4675cfe 100644 --- a/frontend/components/TakeMyMoney.js +++ b/frontend/components/TakeMyMoney.js @@ -21,7 +21,7 @@ class TakeMyMoney extends Component { }, }); // Route them to that order page - const { id } = order.data.createOrder; + const { id } = order.data.CREATE_ORDER_MUTATION; Router.push({ pathname: `/order`, query: { id }, -- cgit v1.3