diff options
author | Hailey <me@haileyok.com> | 2024-10-28 13:31:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 13:31:24 -0700 |
commit | 84db1f997bdf3db7e0038cf221da6756d4a04076 (patch) | |
tree | f2f1b1e8121bb97e981ddb42f1e165bb178abebe /src/view/screens/Storybook/Dialogs.tsx | |
parent | 0f3fa06c3eb58c100380f1aaf19dd0870cdb427c (diff) | |
download | voidsky-84db1f997bdf3db7e0038cf221da6756d4a04076.tar.zst |
Fix E2E tests (#5980)
Diffstat (limited to 'src/view/screens/Storybook/Dialogs.tsx')
-rw-r--r-- | src/view/screens/Storybook/Dialogs.tsx | 13 |
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() |