From 283ee0db9b0397c1c83cfa4851b393de36b35064 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Tue, 2 Jun 2020 16:34:28 +0200 Subject: [PATCH] Remove obsolete property from state --- client/src/graphql/client.js | 1 - client/src/graphql/gql/local/sidebar.gql | 1 - client/src/graphql/typedefs.js | 2 -- 3 files changed, 4 deletions(-) diff --git a/client/src/graphql/client.js b/client/src/graphql/client.js index 973cd873..af3c7316 100644 --- a/client/src/graphql/client.js +++ b/client/src/graphql/client.js @@ -17,7 +17,6 @@ const writeLocalCache = cache => { }, sidebar: { __typename: 'Sidebar', - open: false, profile: false, navigation: false }, diff --git a/client/src/graphql/gql/local/sidebar.gql b/client/src/graphql/gql/local/sidebar.gql index 978bf3cf..8526d5d1 100644 --- a/client/src/graphql/gql/local/sidebar.gql +++ b/client/src/graphql/gql/local/sidebar.gql @@ -1,6 +1,5 @@ query Sidebar { sidebar @client { - open profile navigation } diff --git a/client/src/graphql/typedefs.js b/client/src/graphql/typedefs.js index faf3879b..4f7c8552 100644 --- a/client/src/graphql/typedefs.js +++ b/client/src/graphql/typedefs.js @@ -14,9 +14,7 @@ export const typeDefs = gql` email: String! } - type Sidebar { - open: Boolean! navigation: Boolean profile: Boolean }