blob: 10488c303c1c98b3d116edc3ddd3bb0814e299f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// TODO
import React from 'react'
import {RootStoreModel} from 'state/models/root-store'
const _analytics = {
screen(_name: string) {},
track(_name: string, _opts: any) {},
identify(_userId: string, _userTraits: any) {},
}
export const track = _analytics.track
export function useAnalytics() {
return _analytics
}
export function init(_store: RootStoreModel) {}
export function Provider({children}: React.PropsWithChildren<{}>) {
return children
}
|