From 9bfffadd88df5ce524f0516c23b2426f463106ae Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Wed, 22 Feb 2023 21:23:22 -0600
Subject: Fix temporary web useAnalytics hook

---
 src/lib/analytics.web.tsx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'src/lib/analytics.web.tsx')

diff --git a/src/lib/analytics.web.tsx b/src/lib/analytics.web.tsx
index d7b9b2646..f04d945fe 100644
--- a/src/lib/analytics.web.tsx
+++ b/src/lib/analytics.web.tsx
@@ -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) {}
-- 
cgit 1.4.1

