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;
+4 -4
View File
@@ -1,6 +1,6 @@
/
/
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
File diff suppressed because one or more lines are too long