mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove flush method from analytics class
This commit is contained in:
parent
0a96057bda
commit
33e1c4dd00
1 changed files with 0 additions and 5 deletions
|
|
@ -7,7 +7,6 @@ interface AnalyticEvent {
|
|||
|
||||
interface AnalyticClient {
|
||||
capture: (userIds: string[], event: AnalyticEvent) => void
|
||||
shutdownAsync?: () => Promise<void>
|
||||
}
|
||||
|
||||
class PostHogClient implements AnalyticClient {
|
||||
|
|
@ -35,10 +34,6 @@ class PostHogClient implements AnalyticClient {
|
|||
|
||||
console.log('analytics', { userIds, result, properties })
|
||||
}
|
||||
|
||||
async shutdownAsync() {
|
||||
return this.client.shutdownAsync()
|
||||
}
|
||||
}
|
||||
|
||||
export const analytics = new PostHogClient(
|
||||
|
|
|
|||
Loading…
Reference in a new issue