Fix input freeze on sending message (#343)

This commit is contained in:
ginnyTheCat 2022-02-23 04:05:06 +01:00 committed by GitHub
commit 2308578622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -65,7 +65,7 @@ function ViewSource() {
onRequestClose={() => setIsOpen(false)}
contentOptions={<IconButton src={CrossIC} onClick={() => setIsOpen(false)} tooltip="Close" />}
>
{event && renderViewSource()}
{event ? renderViewSource() : <div />}
</PopupWindow>
);
}