about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-08-07 15:01:26 -0700
committerGitHub <noreply@github.com>2023-08-07 15:01:26 -0700
commit7bbaccad1c5251b6c5926efeec1e36898d17790a (patch)
treef47ef2c2a4e84d168877562d314f0e1540b01206 /src
parent89fc975a150d8c1f79d2a728f9f252fc3438a613 (diff)
downloadvoidsky-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.tsx4
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)}