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 }) => {
);
// <<< 动画 <<<
const idleInteractivities = snap.idleInteractivities;
useEffect(() => {
setHighlight(!!snap.idleInteractivities.length);
}, [snap.idleInteractivities]);
setHighlight(!!idleInteractivities.length);
}, [idleInteractivities]);
return (
<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