FIx cross-browser incompatibility

This commit is contained in:
schmelczerandras 2020-10-21 20:26:28 +02:00
parent fd64100dc9
commit c844e6c52b

View file

@ -82,7 +82,7 @@ const main = async () => {
vendor,
renderer,
referrer: document.referrer,
connection: (navigator as any)?.connection.effectiveType,
connection: (navigator as any)?.connection?.effectiveType,
devicePixelRatio: devicePixelRatio,
},
getFrameData,