mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
remove convertToExcalidrawElements call from restore
This commit is contained in:
parent
2ff0528a4f
commit
d3361f910b
8 changed files with 128 additions and 151 deletions
|
@ -189,7 +189,7 @@ export default function App({ appTitle, useCustom, customArgs }: AppProps) {
|
|||
const updateScene = () => {
|
||||
const sceneData = {
|
||||
elements: restoreElements(
|
||||
[
|
||||
convertToExcalidrawElements([
|
||||
{
|
||||
type: "rectangle",
|
||||
id: "rect-1",
|
||||
|
@ -222,7 +222,7 @@ export default function App({ appTitle, useCustom, customArgs }: AppProps) {
|
|||
y: 100,
|
||||
text: "HELLO WORLD!",
|
||||
},
|
||||
],
|
||||
]),
|
||||
null,
|
||||
),
|
||||
appState: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue