about summary refs log tree commit diff
path: root/src/view/screens/Storybook/Dialogs.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-10-28 13:31:24 -0700
committerGitHub <noreply@github.com>2024-10-28 13:31:24 -0700
commit84db1f997bdf3db7e0038cf221da6756d4a04076 (patch)
treef2f1b1e8121bb97e981ddb42f1e165bb178abebe /src/view/screens/Storybook/Dialogs.tsx
parent0f3fa06c3eb58c100380f1aaf19dd0870cdb427c (diff)
downloadvoidsky-84db1f997bdf3db7e0038cf221da6756d4a04076.tar.zst
Fix E2E tests (#5980)
Diffstat (limited to 'src/view/screens/Storybook/Dialogs.tsx')
-rw-r--r--src/view/screens/Storybook/Dialogs.tsx13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/view/screens/Storybook/Dialogs.tsx b/src/view/screens/Storybook/Dialogs.tsx
index 343d7f07b..4b4d4191f 100644
--- a/src/view/screens/Storybook/Dialogs.tsx
+++ b/src/view/screens/Storybook/Dialogs.tsx
@@ -1,8 +1,6 @@
 import React from 'react'
 import {View} from 'react-native'
-import {useNavigation} from '@react-navigation/native'
 
-import {NavigationProp} from '#/lib/routes/types'
 import {useDialogStateControlContext} from '#/state/dialogs'
 import {atoms as a} from '#/alf'
 import {Button, ButtonText} from '#/components/Button'
@@ -25,7 +23,6 @@ export function Dialogs() {
   const [shouldRenderUnmountTest, setShouldRenderUnmountTest] =
     React.useState(false)
   const unmountTestInterval = React.useRef<number>()
-  const navigation = useNavigation<NavigationProp>()
 
   const onUnmountTestStartPressWithClose = () => {
     setShouldRenderUnmountTest(true)
@@ -156,16 +153,6 @@ export function Dialogs() {
         variant="solid"
         color="primary"
         size="small"
-        onPress={() => navigation.navigate('SharedPreferencesTester')}
-        label="two"
-        testID="sharedPrefsTestOpenBtn">
-        <ButtonText>Open Shared Prefs Tester</ButtonText>
-      </Button>
-
-      <Button
-        variant="solid"
-        color="primary"
-        size="small"
         onPress={() => {
           const isReducedMotionEnabled =
             PlatformInfo.getIsReducedMotionEnabled()