diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-11 10:46:24 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-11 10:46:24 -0400 |
| commit | 8ccb0d93cdc064776454c929e15aa03129be37a3 (patch) | |
| tree | 109dd4fd595f15d25d2b3b27682c776123290ea2 /frontend/components/Cart.js | |
| parent | 632af35d8a0871ca8c1041d0e14d63e2b457d168 (diff) | |
clean up
Diffstat (limited to 'frontend/components/Cart.js')
| -rw-r--r-- | frontend/components/Cart.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/frontend/components/Cart.js b/frontend/components/Cart.js index dbc3e9e..5d68102 100644 --- a/frontend/components/Cart.js +++ b/frontend/components/Cart.js @@ -13,9 +13,13 @@ import CloseButton from './styles/CloseButton'; import SickButton from './styles/SickButton'; const Composed = adopt({ - toggleCart: <Mutation mutation={TOGGLE_CART_MUTATION} />, - localState: <Query query={LOCAL_STATE_QUERY} />, - currentUser: <Query query={CURRENT_USER_QUERY} data-test="cart" />, + toggleCart: <Mutation mutation={TOGGLE_CART_MUTATION}>{() => {}}</Mutation>, + localState: <Query query={LOCAL_STATE_QUERY}>{() => {}}</Query>, + currentUser: ( + <Query query={CURRENT_USER_QUERY} data-test="cart"> + {() => {}} + </Query> + ), }); const Cart = () => ( |
