mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
tooltip for any decryption errors for the curious minded
This commit is contained in:
1 parent
e8ef8f02ab
commit
e6acf05e8d
1 file changed
+8
-1
@@ -67,7 +67,14 @@ const MessageBubble = memo(({
|
||||
: "bg-muted"
|
||||
)}>
|
||||
{message.error ? (
|
||||
<p className="text-sm italic opacity-70">🔒 Failed to decrypt</p>
|
||||
<Tooltip delayDuration={200}>
|
||||
<TooltipTrigger asChild>
|
||||
<p className="text-sm italic opacity-70 cursor-help">🔒 Failed to decrypt</p>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>
|
||||
<p className="text-xs">{message.error}</p>
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
) : isFileAttachment ? (
|
||||
// Kind 15: Use NoteContent to render files/media with imeta tags
|
||||
<div className="text-sm">
|
||||
|
||||
Reference in new issue
Block a user