Fix temporary web useAnalytics hook

This commit is contained in:
Paul Frazee
2023-02-22 21:23:22 -06:00
parent 8ef6b108a3
commit cfd563c782
+5 -4
View File
@@ -2,11 +2,12 @@
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 {
screen(_name: string) {},
track(_name: string, _opts: any) {},
}
return _analytics
}
export function init(_store: RootStoreModel) {}