From d375a458596954618be8e2279319ab65cf1a9961 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Mon, 27 Feb 2023 11:08:01 -0600
Subject: Fix analytics in native build

---
 src/lib/analytics.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/src/lib/analytics.tsx b/src/lib/analytics.tsx
index e12b8cf7a..091a7a1ea 100644
--- a/src/lib/analytics.tsx
+++ b/src/lib/analytics.tsx
@@ -7,7 +7,7 @@ const segmentClient = createClient({
   writeKey: '8I6DsgfiSLuoONyaunGoiQM7A6y2ybdI',
   trackAppLifecycleEvents: false,
 })
-export const track = segmentClient.track
+export const track = segmentClient.track.bind(segmentClient)
 
 export {useAnalytics} from '@segment/analytics-react-native'
 
-- 
cgit 1.4.1

