mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
improvement: Tweak error message on image import (#2619)
* improvement: tweak error message on image import * tweak copy
This commit is contained in:
parent
4a89aba682
commit
b997e69ebc
4 changed files with 11 additions and 3 deletions
|
@ -28,7 +28,14 @@ export const ErrorDialog = ({
|
|||
onCloseRequest={handleClose}
|
||||
title={t("errorDialog.title")}
|
||||
>
|
||||
<div>{message}</div>
|
||||
<div>
|
||||
{message.split("\n").map((line) => (
|
||||
<>
|
||||
{line}
|
||||
<br />
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
</Dialog>
|
||||
)}
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue