crash fix

This commit is contained in:
2026-04-25 17:34:17 +07:00
parent 44d1a87790
commit 221da60c7b
+1 -1
View File
@@ -48,7 +48,7 @@ export const NetrunnerMatrix: React.FC<NetrunnerMatrixProps> = ({
if (!canvas || !container || hasTransferred.current) return; if (!canvas || !container || hasTransferred.current) return;
const getEyeY = (scale) => { const getEyeY = (scale: number) => {
const anchor = document.getElementById("eye-anchor"); const anchor = document.getElementById("eye-anchor");
const canvas = canvasRef.current; const canvas = canvasRef.current;
if (anchor && canvas) { if (anchor && canvas) {