diff options
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() |