🚨 消除Qodana警告

This commit is contained in:
目棃
2024-09-12 11:06:56 +08:00
parent 6b2d1a3a80
commit 611ae19c5e
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ async function listenSub(): Promise<UnlistenFn> {
}
async function share(): Promise<void> {
const replyDom = document.getElementById(replyId);
const replyDom: HTMLElement | null = document.getElementById(replyId);
if (replyDom === null) return;
await generateShareImg(replyId, replyDom, 3);
}