mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-02 23:27:00 +02:00
Set Trailing Cmma to (#525)
This commit is contained in:
@@ -8,14 +8,14 @@ class SceneHistory {
|
||||
|
||||
generateCurrentEntry(
|
||||
appState: Partial<AppState>,
|
||||
elements: readonly ExcalidrawElement[]
|
||||
elements: readonly ExcalidrawElement[],
|
||||
) {
|
||||
return JSON.stringify({
|
||||
appState,
|
||||
elements: elements.map(({ shape, ...element }) => ({
|
||||
...element,
|
||||
isSelected: false
|
||||
}))
|
||||
isSelected: false,
|
||||
})),
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user