diff --git a/frontend/src/lib/components/JSSnippet.tsx b/frontend/src/lib/components/JSSnippet.tsx index 5c0c32bbdb9b4..05cbf0cfb6139 100644 --- a/frontend/src/lib/components/JSSnippet.tsx +++ b/frontend/src/lib/components/JSSnippet.tsx @@ -13,7 +13,7 @@ export function snippetFunctions(): string { if ( typeof posthogPrototype[key] === 'function' && !key.startsWith('_') && - !['constructor', 'toString'].includes(key) + !['constructor', 'toString', 'push'].includes(key) ) { methods.push(key) }