Commit c6e7822c authored by Chunchi Che's avatar Chunchi Che

fix lint warning

parent 563705f3
...@@ -109,9 +109,10 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => { ...@@ -109,9 +109,10 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => {
); );
// <<< 动画 <<< // <<< 动画 <<<
const idleInteractivities = snap.idleInteractivities;
useEffect(() => { useEffect(() => {
setHighlight(!!snap.idleInteractivities.length); setHighlight(!!idleInteractivities.length);
}, [snap.idleInteractivities]); }, [idleInteractivities]);
return ( return (
<animated.div <animated.div
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment