This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Vendored
+4
-4
@@ -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
Reference in New Issue
Block a user