1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Add getAnalytics helper

This commit is contained in:
James Salter
2021-07-21 08:42:29 +01:00
parent 4b0cb409a0
commit b5564a0de0

View File

@@ -106,3 +106,7 @@ export class PosthogAnalytics {
this.trackPseudonymousEvent(eventName, updatedProperties);
}
}
export default function getAnalytics() {
return PosthogAnalytics.instance();
}