Merge branch 'copy-status-uri' into 'develop'

StatusActionBar: copy status.url --> status.uri

See merge request soapbox-pub/soapbox!1775
This commit is contained in:
Alex Gleason 2022-09-06 18:22:49 +00:00
commit f39e811db5

View file

@ -301,12 +301,12 @@ const StatusActionBar: React.FC<IStatusActionBar> = ({
};
const handleCopy: React.EventHandler<React.MouseEvent> = (e) => {
const { url } = status;
const { uri } = status;
const textarea = document.createElement('textarea');
e.stopPropagation();
textarea.textContent = url;
textarea.textContent = uri;
textarea.style.position = 'fixed';
document.body.appendChild(textarea);