Fix temporary web useAnalytics hook
This commit is contained in:
		
							parent
							
								
									2db7ad8ef3
								
							
						
					
					
						commit
						9bfffadd88
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		|  | @ -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) {} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue