feat: show quote note id when loading
feat: try load quote note from other relays
This commit is contained in:
@ -22,7 +22,12 @@ export default function Copy({ text, maxSize = 32, className, showText, mask }:
|
||||
: displayText;
|
||||
|
||||
return (
|
||||
<div className={classNames("copy flex pointer g8 items-center", className)} onClick={() => copy(text)}>
|
||||
<div
|
||||
className={classNames("copy flex pointer g8 items-center", className)}
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
copy(text);
|
||||
}}>
|
||||
{(showText ?? true) && <span className="copy-body">{trimmed}</span>}
|
||||
<span className="icon" style={{ color: copied ? "var(--success)" : "var(--highlight)" }}>
|
||||
{copied ? <Icon name="check" size={14} /> : <Icon name="copy-solid" size={14} />}
|
||||
|
Reference in New Issue
Block a user