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
@@ -55,7 +55,10 @@ export const NodeDetail = ({ node }: NodeDetailProps) => {
<div className="flex flex-col items-center gap-2 min-w-6 pt-1"> <div className="flex flex-col items-center gap-2 min-w-6 pt-1">
<Avatar text={shortName} /> <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 {node.user?.publicKey && node.user?.publicKey.length > 0
? ( ? (
<LockIcon <LockIcon