mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-05 16:22:26 -08:00
typecheck fix
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -75,7 +75,7 @@ export function GlobalModalManager() {
|
||||
)}
|
||||
|
||||
{modal.type === ModalType.ReadReceipts && (
|
||||
<Modal variant="Surface" size="200">
|
||||
<Modal variant="Surface" size="300">
|
||||
<MessageReadReceiptInternal
|
||||
room={modal.room}
|
||||
eventId={modal.eventId}
|
||||
|
||||
@@ -209,7 +209,9 @@ function processChildren(
|
||||
continue;
|
||||
}
|
||||
|
||||
out.push(processNode(cur, listDepth, insideCode));
|
||||
if (cur) {
|
||||
out.push(processNode(cur, listDepth, insideCode));
|
||||
}
|
||||
}
|
||||
|
||||
return out.join('');
|
||||
|
||||
Reference in new issue
Block a user