about summary refs log tree commit diff
path: root/src/view/com/util/PostMeta.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-01-25 22:24:37 -0800
committerGitHub <noreply@github.com>2024-01-25 22:24:37 -0800
commit6149437c05bd0ffbde08833e2a32c967f08f8414 (patch)
treeaa500af7fc49585a40abbab30cb2bde02792a28a /src/view/com/util/PostMeta.tsx
parentc8175b9c4e6c4a7b614ec46807db91c3dee529de (diff)
downloadvoidsky-6149437c05bd0ffbde08833e2a32c967f08f8414.tar.zst
Account creation improvements & some other fixes (#2636)
* Quick fix to mobile

* Enlarge tap targets in account creation

* Improve keyboard behaviors during account creation

* Improve autocompletion behaviors during account creation

* Use the logo in the Deactivated screen
Diffstat (limited to 'src/view/com/util/PostMeta.tsx')
-rw-r--r--src/view/com/util/PostMeta.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/view/com/util/PostMeta.tsx b/src/view/com/util/PostMeta.tsx
index 4cd574d59..3795dcf13 100644
--- a/src/view/com/util/PostMeta.tsx
+++ b/src/view/com/util/PostMeta.tsx
@@ -68,11 +68,9 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
             </>
           }
           href={makeProfileLink(opts.author)}
-          onPointerEnter={() => {
-            if (isWeb) {
-              prefetchProfileQuery(opts.author.did)
-            }
-          }}
+          onPointerEnter={
+            isWeb ? () => prefetchProfileQuery(opts.author.did) : undefined
+          }
         />
       </View>
       {!isAndroid && (