Prevent tooltip from appearing by default
This commit is contained in:
1 parent
77b3a7ac85
commit
8da38ab2e4
1 file changed
+4
-1
@@ -55,7 +55,10 @@ export const NodeDetail = ({ node }: NodeDetailProps) => {
|
||||
<div className="flex flex-col items-center gap-2 min-w-6 pt-1">
|
||||
<Avatar text={shortName} />
|
||||
|
||||
<div>
|
||||
<div onFocusCapture={(e) => {
|
||||
// Required to prevent DM tooltip auto-appearing on creation
|
||||
e.stopPropagation();
|
||||
}}>
|
||||
{node.user?.publicKey && node.user?.publicKey.length > 0
|
||||
? (
|
||||
<LockIcon
|
||||
|
||||
Reference in new issue
Block a user