From be8a49e5c7e8453dcbbe81afb518dd158718fc67 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 15 Feb 2018 10:28:26 +0100 Subject: [PATCH] fix importing sketch --- src/components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App.js b/src/components/App.js index a1f8dde..85418ac 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -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':