diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-07 15:01:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 15:01:26 -0700 |
commit | 7bbaccad1c5251b6c5926efeec1e36898d17790a (patch) | |
tree | f47ef2c2a4e84d168877562d314f0e1540b01206 /src | |
parent | 89fc975a150d8c1f79d2a728f9f252fc3438a613 (diff) | |
download | voidsky-7bbaccad1c5251b6c5926efeec1e36898d17790a.tar.zst |
Fix: dont use profile preview modal on mobile web (#1125)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/UserPreviewLink.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/UserPreviewLink.tsx b/src/view/com/util/UserPreviewLink.tsx index 7eedbc2d4..f43f9e80b 100644 --- a/src/view/com/util/UserPreviewLink.tsx +++ b/src/view/com/util/UserPreviewLink.tsx @@ -2,7 +2,7 @@ import React from 'react' import {Pressable, StyleProp, ViewStyle} from 'react-native' import {useStores} from 'state/index' import {Link} from './Link' -import {isDesktopWeb} from 'platform/detection' +import {isWeb} from 'platform/detection' import {makeProfileLink} from 'lib/routes/links' interface UserPreviewLinkProps { @@ -15,7 +15,7 @@ export function UserPreviewLink( ) { const store = useStores() - if (isDesktopWeb) { + if (isWeb) { return ( <Link href={makeProfileLink(props)} |