crash fix
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user