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

Don't make getAnalytics the default export, its weird

This commit is contained in:
James Salter
2021-07-21 11:23:55 +01:00
parent d9594c428a
commit 7e549f84e7

View File

@@ -107,6 +107,6 @@ export class PosthogAnalytics {
}
}
export default function getAnalytics() {
export function getAnalytics(): PosthogAnalytics {
return PosthogAnalytics.instance();
}