Skip to content

Commit

Permalink
Revert irrelevant changes from src/store/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hizclick committed May 16, 2024
1 parent 4e0f1dc commit 6bcda40
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 6bcda40

Please sign in to comment.