Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Feb 9, 2023
1 parent 51d0b97 commit 6a3eed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt-delay-hydration/src/template/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function idleListener(): Handler {
return { c: () => window.cancelIdleCallback(id), p }
}
// return a promise which will never resolve if there is no hydration
const triggers = [idleListener(), eventListeners()];
const triggers = [idleListener(), eventListeners()]
const hydrationPromise = Promise.race<string | Event>(
triggers.map(t => t.p),
).finally(() => {
Expand Down

0 comments on commit 6a3eed0

Please sign in to comment.