From 6bcda4031fb334d69732e262d4f91ba08a28c821 Mon Sep 17 00:00:00 2001 From: Hizkiel Date: Thu, 16 May 2024 10:25:50 +0200 Subject: [PATCH] Revert irrelevant changes from src/store/index.js --- src/store/index.js | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index d6e61f7..a1415fa 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1096,17 +1096,16 @@ export default createStore({ }, pages: state => { const arr = [] - state.pages.forEach(page => { - const obj = { - tileSource: page.uri, - width: page.width, - height: page.height , - x: 0, - y: 0 - } - arr.push(obj) - }) - return arr + state.pages.forEach(page => { + const obj = { + tileSource: page.uri, + width: page.width, + x: 0, + y: 0 + } + arr.push(obj) + }) + return arr }, pagesDetailed: state => { const arr = []