[Glitch] chore(deps): update dependency typescript to ~5.9.0
Port cc54b33720 to glitch-soc
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: diondiondion <mail@diondiondion.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
4053209a05
commit
3eed83b6ff
6 files changed
+10
-8
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ export const EmbeddedStatusContent: React.FC<{
|
||||
link.setAttribute('title', `@${mention.get('acct')}`);
|
||||
link.setAttribute('href', `/@${mention.get('acct')}`);
|
||||
} else if (
|
||||
link.textContent?.[0] === '#' ||
|
||||
link.textContent.startsWith('#') ||
|
||||
link.previousSibling?.textContent?.endsWith('#')
|
||||
) {
|
||||
link.addEventListener(
|
||||
|
||||
@@ -54,9 +54,7 @@ export const Profile: React.FC<{
|
||||
me ? state.accounts.get(me) : undefined,
|
||||
);
|
||||
const [displayName, setDisplayName] = useState(account?.display_name ?? '');
|
||||
const [note, setNote] = useState(
|
||||
account ? (unescapeHTML(account.note) ?? '') : '',
|
||||
);
|
||||
const [note, setNote] = useState(account ? unescapeHTML(account.note) : '');
|
||||
const [avatar, setAvatar] = useState<File>();
|
||||
const [header, setHeader] = useState<File>();
|
||||
const [discoverable, setDiscoverable] = useState(
|
||||
|
||||
@@ -36,6 +36,7 @@ const EmbedModal: React.FC<{
|
||||
}
|
||||
|
||||
iframeDocument.open();
|
||||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
iframeDocument.write(data.html);
|
||||
iframeDocument.close();
|
||||
|
||||
|
||||
Reference in new issue
Block a user