Browse Source

Fix bug with sequential helper

pull/6733/head
Andrew Kingston 4 years ago
parent
commit
84e87aeb1d
  1. 2
      packages/frontend-core/src/utils/utils.js

2
packages/frontend-core/src/utils/utils.js

@ -9,7 +9,7 @@ export const sequential = fn => {
return async (...params) => {
queue.push(async () => {
await fn(...params)
queue.pop()
queue.shift()
if (queue.length) {
await queue[0]()
}

Loading…
Cancel
Save