diff options
Diffstat (limited to 'src/components/Link.tsx')
-rw-r--r-- | src/components/Link.tsx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/Link.tsx b/src/components/Link.tsx index 74e75e99c..00e6a56f4 100644 --- a/src/components/Link.tsx +++ b/src/components/Link.tsx @@ -1,23 +1,23 @@ -import {sanitizeUrl} from '@braintree/sanitize-url' -import {StackActions, useLinkProps} from '@react-navigation/native' -import {useNavigationDeduped} from 'lib/hooks/useNavigationDeduped' import React from 'react' import {GestureResponderEvent} from 'react-native' -import {useOpenLink} from 'state/preferences/in-app-browser' +import {useLinkProps, StackActions} from '@react-navigation/native' +import {sanitizeUrl} from '@braintree/sanitize-url' -import {atoms as a, flatten, TextStyleProp, useTheme, web} from '#/alf' -import {Button, ButtonProps} from '#/components/Button' import {useInteractionState} from '#/components/hooks/useInteractionState' -import {Text, TextProps} from '#/components/Typography' +import {isWeb} from '#/platform/detection' +import {useTheme, web, flatten, TextStyleProp, atoms as a} from '#/alf' +import {Button, ButtonProps} from '#/components/Button' import {AllNavigatorParams} from '#/lib/routes/types' import { convertBskyAppUrlIfNeeded, isExternalUrl, linkRequiresWarning, } from '#/lib/strings/url-helpers' -import {isWeb} from '#/platform/detection' -import {router} from '#/routes' import {useModalControls} from '#/state/modals' +import {router} from '#/routes' +import {Text, TextProps} from '#/components/Typography' +import {useOpenLink} from 'state/preferences/in-app-browser' +import {useNavigationDeduped} from 'lib/hooks/useNavigationDeduped' /** * Only available within a `Link`, since that inherits from `Button`. |