Fix missing underscore

This commit is contained in:
James Salter 2021-07-21 11:23:18 +01:00
parent b5564a0de0
commit 678474c0e8

View file

@ -41,7 +41,7 @@ export class PosthogAnalytics {
private static _instance = null; private static _instance = null;
public static instance(): PosthogAnalytics { public static instance(): PosthogAnalytics {
if (!this.instance) { if (!this._instance) {
this._instance = new PosthogAnalytics(posthog); this._instance = new PosthogAnalytics(posthog);
} }
return this._instance; return this._instance;