Skip to content

Commit

Permalink
feat: add args to speed up puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Dec 29, 2024
1 parent 5715e53 commit a289c1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DecorateScreenshot = () => {
getBoard(boardId).then((board) => {
setBoardName(board.title)
})
}, [boardId])
}, [])

useEffect(() => {
const takePreview = async () => {
Expand All @@ -55,7 +55,7 @@ const DecorateScreenshot = () => {
}

takePreview()
}, [boardId, polaroidIds])
}, [])

const takeScreenshot = () => {
setIsLoadingDownload(true)
Expand Down

0 comments on commit a289c1b

Please sign in to comment.