diff --git a/packages/view/src/ide/FakeIDEAdapter.ts b/packages/view/src/ide/FakeIDEAdapter.ts index cb3349ef..8b73c18d 100644 --- a/packages/view/src/ide/FakeIDEAdapter.ts +++ b/packages/view/src/ide/FakeIDEAdapter.ts @@ -15,6 +15,7 @@ export default class FakeIDEAdapter implements IDEPort { const responseMessage = e.data; const { command, payload } = responseMessage; const { command, payload } = responseMessage; + const payloadData = command && payload ? JSON.parse(payload) : payload; switch (command) { case "fetchAnalyzedData":