summaryrefslogtreecommitdiffstats
path: root/frontend/queries
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/queries')
-rw-r--r--frontend/queries/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/queries/index.js b/frontend/queries/index.js
index 15eaf49..5e9e28b 100644
--- a/frontend/queries/index.js
+++ b/frontend/queries/index.js
@@ -259,3 +259,14 @@ export const UPDATE_PERMISSIONS_MUTATION = gql`
}
}
`;
+
+export const LOCAL_STATE_QUERY = gql`
+ {
+ cartOpen @client
+ }
+`;
+export const TOGGLE_CART_MUTATION = gql`
+ mutation toggleCart {
+ toggleCart @client
+ }
+`;