Prevent tooltip from appearing by default

This commit is contained in:
James Thomas
2025-03-28 09:57:35 -04:00
parent 77b3a7ac85
commit 8da38ab2e4

View File

@@ -54,8 +54,11 @@ export const NodeDetail = ({ node }: NodeDetailProps) => {
<div className="flex gap-2">
<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