about summary refs log tree commit diff
path: root/src/lib/analytics.web.tsx
blob: f04d945feb0aa1a29d1099d2152c661c4e0ff95a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// TODO
import React from 'react'
import {RootStoreModel} from 'state/models/root-store'

const _analytics = {
  screen(_name: string) {},
  track(_name: string, _opts: any) {},
}
export function useAnalytics() {
  return _analytics
}

export function init(_store: RootStoreModel) {}

export function Provider({children}: React.PropsWithChildren<{}>) {
  return children
}