Skip to content

Commit 88f2a84

Browse files
committed
Update useAnimation.stories.tsx
1 parent 7f23c1d commit 88f2a84

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

stories/hooks/useAnimation.stories.tsx

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { StoryObj } from "@storybook/react";
2-
import React, {
3-
useCallback,
4-
useEffect,
5-
useMemo,
6-
useRef,
7-
useState,
8-
} from "react";
2+
import React, { useCallback, useEffect, useState } from "react";
93
import {
104
AnimationOptions,
115
TypedEasing,
@@ -425,7 +419,7 @@ export const Mouse: StoryObj = {
425419

426420
const onPointerMove = debounce((e: PointerEvent) => {
427421
move.play({ args: { x: e.clientX, y: e.clientY } });
428-
}, 200);
422+
}, 100);
429423
window.addEventListener("pointermove", onPointerMove);
430424
return () => {
431425
window.removeEventListener("pointermove", onPointerMove);

0 commit comments

Comments
 (0)