fix importing sketch

This commit is contained in:
casperlamboo 2018-02-15 10:28:26 +01:00
parent f387297195
commit be8a49e5c7

View File

@ -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':