fix: incorrectly caching png file handle (#3407)

This commit is contained in:
David Luzar 2021-04-06 21:27:15 +02:00 committed by GitHub
parent 34761200bf
commit 1e48aafb9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View file

@ -28,14 +28,7 @@ export const ErrorDialog = ({
onCloseRequest={handleClose}
title={t("errorDialog.title")}
>
<div>
{message.split("\n").map((line) => (
<>
{line}
<br />
</>
))}
</div>
<div style={{ whiteSpace: "pre-wrap" }}>{message}</div>
</Dialog>
)}
</>