From 585a8395254919ae254aecbccb02807b580fcaa5 Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Sat, 14 Nov 2020 13:36:52 +1100 Subject: [PATCH] Fix bug that stop ide recovering after syntax error --- web/src/components/IdePartCell/IdePartCell.js | 2 -- web/src/index.html | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/components/IdePartCell/IdePartCell.js b/web/src/components/IdePartCell/IdePartCell.js index e9e6d21..7d2329e 100644 --- a/web/src/components/IdePartCell/IdePartCell.js +++ b/web/src/components/IdePartCell/IdePartCell.js @@ -36,10 +36,8 @@ export const Success = ({ part, refetch }) => { addMessage('Part updated.', { classes: 'rw-flash-success' }) }, }) - console.log({ updatePart }) const saveCode = (input, id) => { - console.log(id, input, 'wowow') updatePart({ variables: { id, input } }) refetch() } diff --git a/web/src/index.html b/web/src/index.html index 60ec278..eb9c549 100644 --- a/web/src/index.html +++ b/web/src/index.html @@ -11,6 +11,7 @@ // Install Cascade Studio as a Progressive Web App for Offline Access // This needs to be put before ANY HTTP Requests are made, so it can cache them. var messageHandlers = {}; + messageHandlers["resetWorking"] = () => { workerWorking = false; } var cascadeStudioWorker var workerWorking = false var galleryProject = undefined