Fix insights bug

This commit is contained in:
schmelczerandras 2020-10-25 08:46:02 +01:00
parent ee4fdadd76
commit 15b04cad2d

View file

@ -48,8 +48,8 @@ const startInsightsSession = async (): Promise<(data: any) => unknown> => {
vendor,
renderer,
referrer: document.referrer,
connection: (navigator as any)?.connection.effectiveType,
devicePixelRatio: window.devicePixelRatio,
connection: (navigator as any)?.connection?.effectiveType,
devicePixelRatio: devicePixelRatio,
});
};