Skip to content

Commit 2e145ea

Browse files
committed
fix(): Fixing the warning build failure
1 parent 12e0843 commit 2e145ea

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/CoverText/Cover.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const Cover = ({ children }: { children?: React.ReactNode }) => {
2424
);
2525
setBeamPositions(positions);
2626
}
27+
// eslint-disable-next-line react-hooks/exhaustive-deps
2728
}, [ref.current]);
2829

2930
return (

src/components/WavyBackground/WavyBackground.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const WavyBackground = ({
9696
return () => {
9797
cancelAnimationFrame(animationId);
9898
};
99+
// eslint-disable-next-line react-hooks/exhaustive-deps
99100
}, []);
100101

101102
const [isSafari, setIsSafari] = useState(false);

0 commit comments

Comments
 (0)