about summary refs log tree commit diff
path: root/src/components/interstitials/Trending.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/interstitials/Trending.tsx')
-rw-r--r--src/components/interstitials/Trending.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/interstitials/Trending.tsx b/src/components/interstitials/Trending.tsx
index 82ca6d234..a9d7778a9 100644
--- a/src/components/interstitials/Trending.tsx
+++ b/src/components/interstitials/Trending.tsx
@@ -41,7 +41,7 @@ export function Inner() {
     setTrendingDisabled(true)
   }, [setTrendingDisabled])
 
-  const drawerGesture = useContext(DrawerGestureContext)!
+  const drawerGesture = useContext(DrawerGestureContext) ?? Gesture.Native() // noop for web
   const trendingScrollGesture =
     Gesture.Native().blocksExternalGesture(drawerGesture)