Tidyup
This commit is contained in:
parent
d0f48e3d0e
commit
49a69b3b80
|
@ -116,18 +116,6 @@ const setPackage = (store, initial) => async pkg => {
|
||||||
return initial
|
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 => {
|
const saveScreen = store => screen => {
|
||||||
store.update(state => {
|
store.update(state => {
|
||||||
return _saveScreen(store, state, screen)
|
return _saveScreen(store, state, screen)
|
||||||
|
|
Loading…
Reference in New Issue