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 url = URL.createObjectURL(file);
const { data, appVersion } = await fetch(url).then(result => result.json()); const { data, appVersion } = await fetch(url).then(result => result.json());
const sketchData = await JSONToSketchData(data, appVersion); const sketchData = await JSONToSketchData(data, appVersion);
openSketch({ data: sketchData }); openSketch(sketchData);
break; break;
case 'JPG': case 'JPG':
case 'JPEG': case 'JPEG':