diff --git a/edit/usw-integration.js b/edit/usw-integration.js index 91a19bad..dd394460 100644 --- a/edit/usw-integration.js +++ b/edit/usw-integration.js @@ -50,6 +50,7 @@ async function disconnect() { await API.usw.revoke(editor.style.id); + prevCode = null; // to allow the next publishStyle to upload style } function updateUI(style = editor.style) {