Skip to content

Commit

Permalink
feat: decrease refetch delay
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandervantrijffel committed Jul 28, 2023
1 parent 8fddf18 commit 0508890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhotoManager/PhotoGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Service = () => {
const itemsLength = currentImageGallery()?.props?.items?.length
console.log('itemsLength', itemsLength)
if (itemsLength && itemsLength <= 1) {
await delay(2000)
await delay(1250)
doRefetch()
}
})()
Expand Down

0 comments on commit 0508890

Please sign in to comment.