about summary refs log tree commit diff
path: root/src/view/shell/desktop/LeftNav.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-05-21 01:29:22 +0100
committerGitHub <noreply@github.com>2024-05-20 19:29:22 -0500
commit4a7436886d0548ae453997286f5a8c2ac4b297a0 (patch)
tree1adc5e46a824016df65d261df99ad5661c74f42d /src/view/shell/desktop/LeftNav.tsx
parenta7b0242cc8aaf09273abe20903e88e59a4acd1a7 (diff)
downloadvoidsky-4a7436886d0548ae453997286f5a8c2ac4b297a0.tar.zst
remove DMs gate (#4112)
Diffstat (limited to 'src/view/shell/desktop/LeftNav.tsx')
-rw-r--r--src/view/shell/desktop/LeftNav.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx
index 3fc0774f3..9b2b4922a 100644
--- a/src/view/shell/desktop/LeftNav.tsx
+++ b/src/view/shell/desktop/LeftNav.tsx
@@ -12,7 +12,6 @@ import {
   useNavigationState,
 } from '@react-navigation/native'
 
-import {useGate} from '#/lib/statsig/statsig'
 import {isInvalidHandle} from '#/lib/strings/handles'
 import {emitSoftReset} from '#/state/events'
 import {useFetchHandle} from '#/state/queries/handle'
@@ -304,7 +303,6 @@ export function DesktopLeftNav() {
   const {_} = useLingui()
   const {isDesktop, isTablet} = useWebMediaQueries()
   const numUnreadNotifications = useUnreadNotifications()
-  const gate = useGate()
 
   if (!hasSession && !isDesktop) {
     return null
@@ -351,7 +349,7 @@ export function DesktopLeftNav() {
             iconFilled={<BellFilled width={NAV_ICON_WIDTH} style={pal.text} />}
             label={_(msg`Notifications`)}
           />
-          {gate('dms') && <ChatNavItem />}
+          <ChatNavItem />
           <NavItem
             href="/feeds"
             icon={