Optimized images and linting

This commit is contained in:
2026-03-11 20:47:07 +01:00 Verified
parent 252790cfc2
commit 1cd07b9dd5
8 changed files with 65 additions and 32 deletions
+1 -2
View File
@@ -19,7 +19,6 @@ export default function MatrixRain({ color = '#84c0a0', fps = 15 }: MatrixRainPr
const ctx = canvas.getContext('2d');
if (!ctx) return;
let intervalId: NodeJS.Timeout;
const fontSize = 16;
let columns = 0;
let drops: number[] = [];
@@ -60,7 +59,7 @@ export default function MatrixRain({ color = '#84c0a0', fps = 15 }: MatrixRainPr
}
};
intervalId = setInterval(draw, 1000 / fps);
const intervalId = setInterval(draw, 1000 / fps);
const handleResize = () => {
if (window.innerWidth !== lastWidth.current) {