about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-30 17:48:07 -0600
committerGitHub <noreply@github.com>2023-11-30 15:48:07 -0800
commitabe61b7517f07dfdb710a2ceb94676819f77a8d8 (patch)
tree3c00d1f4bfe97f64540b2af551cb186ff3668a55
parent28f8999252fa98e845ead61aa476b55ae2783601 (diff)
downloadvoidsky-abe61b7517f07dfdb710a2ceb94676819f77a8d8.tar.zst
Disable OTA for now (#2052)
-rw-r--r--src/view/shell/index.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx
index 71d65a755..5562af9ac 100644
--- a/src/view/shell/index.tsx
+++ b/src/view/shell/index.tsx
@@ -23,7 +23,6 @@ import {
   SafeAreaProvider,
   initialWindowMetrics,
 } from 'react-native-safe-area-context'
-import {useOTAUpdate} from 'lib/hooks/useOTAUpdate'
 import {
   useIsDrawerOpen,
   useSetDrawerOpen,
@@ -37,7 +36,6 @@ function ShellInner() {
   const isDrawerOpen = useIsDrawerOpen()
   const isDrawerSwipeDisabled = useIsDrawerSwipeDisabled()
   const setIsDrawerOpen = useSetDrawerOpen()
-  useOTAUpdate() // this hook polls for OTA updates every few seconds
   const winDim = useWindowDimensions()
   const safeAreaInsets = useSafeAreaInsets()
   const containerPadding = React.useMemo(