mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
fix importing sketch
This commit is contained in:
parent
f387297195
commit
be8a49e5c7
@ -101,7 +101,7 @@ class App extends React.Component {
|
||||
const url = URL.createObjectURL(file);
|
||||
const { data, appVersion } = await fetch(url).then(result => result.json());
|
||||
const sketchData = await JSONToSketchData(data, appVersion);
|
||||
openSketch({ data: sketchData });
|
||||
openSketch(sketchData);
|
||||
break;
|
||||
case 'JPG':
|
||||
case 'JPEG':
|
||||
|
Loading…
Reference in New Issue
Block a user