From e667b78b10cab1e868ed34458e15101d2f49db0c Mon Sep 17 00:00:00 2001 From: Conor Mack Date: Tue, 8 Sep 2020 16:15:14 +0100 Subject: [PATCH] Tidyup --- packages/builder/src/builderStore/store/index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/builder/src/builderStore/store/index.js b/packages/builder/src/builderStore/store/index.js index 6e782be39e..b64bf78624 100644 --- a/packages/builder/src/builderStore/store/index.js +++ b/packages/builder/src/builderStore/store/index.js @@ -116,18 +116,6 @@ const setPackage = (store, initial) => async pkg => { return initial } -// const getAllScreens = store => async pkg => { -// const [main_screens, unauth_screens] = await Promise.all([ -// api -// .get(`/_builder/api/${pkg.application._id}/pages/main/screens`) -// .then(r => r.json()), -// api -// .get(`/_builder/api/${pkg.application._id}/pages/unauthenticated/screens`) -// .then(r => r.json()), -// ]) -// return { main_screens, unauth_screens } -// } - const saveScreen = store => screen => { store.update(state => { return _saveScreen(store, state, screen)