Fix temporary web useAnalytics hook

zio/stable
Paul Frazee 2023-02-22 21:23:22 -06:00
parent 2db7ad8ef3
commit 9bfffadd88
1 changed files with 5 additions and 4 deletions

View File

@ -2,11 +2,12 @@
import React from 'react' import React from 'react'
import {RootStoreModel} from 'state/models/root-store' import {RootStoreModel} from 'state/models/root-store'
const _analytics = {
screen(_name: string) {},
track(_name: string, _opts: any) {},
}
export function useAnalytics() { export function useAnalytics() {
return { return _analytics
screen(_name: string) {},
track(_name: string, _opts: any) {},
}
} }
export function init(_store: RootStoreModel) {} export function init(_store: RootStoreModel) {}