about summary refs log tree commit diff
path: root/src/lib/statsig
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-14 01:12:31 +0300
committerGitHub <noreply@github.com>2025-08-14 01:12:31 +0300
commitb2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch)
treeacdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/lib/statsig
parent275fece3e3de0bd09377a33813bcfe35e352874b (diff)
downloadvoidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst
Add displayName to contexts (#8814)
Diffstat (limited to 'src/lib/statsig')
-rw-r--r--src/lib/statsig/statsig.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/statsig/statsig.tsx b/src/lib/statsig/statsig.tsx
index 1091c82e0..860e841eb 100644
--- a/src/lib/statsig/statsig.tsx
+++ b/src/lib/statsig/statsig.tsx
@@ -147,6 +147,7 @@ function toStringRecord<E extends keyof MetricEvents>(
 // and it's been difficult to get it to behave in a predictable way.
 // Our own cache ensures consistent evaluation within a single session.
 const GateCache = React.createContext<Map<string, boolean> | null>(null)
+GateCache.displayName = 'StatsigGateCacheContext'
 
 type GateOptions = {
   dangerouslyDisableExposureLogging?: boolean