We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a7b75 commit ac23b8cCopy full SHA for ac23b8c
src/useWebAnimations.ts
@@ -86,6 +86,7 @@ const useWebAnimations = <T extends HTMLElement | null>({
86
87
if (onReadyRef.current) {
88
if (anim.ready) {
89
+ // eslint-disable-next-line promise/catch-or-return, promise/always-return
90
anim.ready.then((animation) => {
91
// @ts-expect-error
92
onReadyRef.current({
0 commit comments