Skip to content

Commit 3cef598

Browse files
author
Ives van Hoorne
committed
Fix heap check
1 parent 1479b6f commit 3cef598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/utils/analytics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { CurrentUser } from 'common/types';
44

55
const debug = _debug('cs:analytics');
66

7-
const heapAvailable = () => typeof window.heap === 'function';
7+
const heapAvailable = () => typeof window.heap === 'object';
88
const sentryAvailable = () => typeof window.Raven === 'object';
99

1010
export default function track(event: string, data: Object) {

0 commit comments

Comments
 (0)