mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: incorrectly caching png file handle (#3407)
This commit is contained in:
parent
34761200bf
commit
1e48aafb9c
2 changed files with 2 additions and 9 deletions
|
@ -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>
|
||||
)}
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue