From e88f98418a1770b21814f61266005ea28bceb88c Mon Sep 17 00:00:00 2001 From: Dmitry Yankowski Date: Tue, 25 Feb 2020 11:10:18 -0500 Subject: [PATCH] Remove duplicate code --- store/mutations.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/store/mutations.js b/store/mutations.js index a67a3eb69..9a229291a 100644 --- a/store/mutations.js +++ b/store/mutations.js @@ -13,12 +13,6 @@ export default { : theme.collapsedSections.push(value) }, - setCollapsedSection({ theme }, value) { - theme.collapsedSections.includes(value) - ? (theme.collapsedSections = theme.collapsedSections.filter(section => section !== value)) - : theme.collapsedSections.push(value) - }, - addGQLHeader({ gql }, object) { gql.headers.push(object) },