mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
cleanup
This commit is contained in:
parent
7a94ee3191
commit
d994f72c40
5 changed files with 15 additions and 9 deletions
|
@ -322,9 +322,8 @@ const ExcalidrawWrapper = () => {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
const sceneElements = data.scene.elements;
|
||||
const fileIds =
|
||||
sceneElements?.reduce((acc, element) => {
|
||||
data.scene.elements?.reduce((acc, element) => {
|
||||
if (isInitializedImageElement(element)) {
|
||||
return acc.concat(element.fileId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue