fix: FIxed compile error
Server Deploy / deploy (push) Successful in 1m45s

This commit is contained in:
2026-07-24 11:18:14 +01:00
parent 9cc9e68d90
commit 460b4afb22
3 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -45,9 +45,10 @@ export function NetworkBackground() {
useEffect(() => {
const canvas: HTMLCanvasElement | null = canvasRef.current;
if (!canvas) return;
const ctx = canvas.getContext("2d");
if (!ctx) return;
const ctx2d = canvas.getContext("2d");
if (!ctx2d) return;
const cvs: HTMLCanvasElement = canvas;
const ctx: CanvasRenderingContext2D = ctx2d;
const reducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;