We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1479b6f commit 3cef598Copy full SHA for 3cef598
src/app/utils/analytics.js
@@ -4,7 +4,7 @@ import type { CurrentUser } from 'common/types';
4
5
const debug = _debug('cs:analytics');
6
7
-const heapAvailable = () => typeof window.heap === 'function';
+const heapAvailable = () => typeof window.heap === 'object';
8
const sentryAvailable = () => typeof window.Raven === 'object';
9
10
export default function track(event: string, data: Object) {
0 commit comments