From 814477310fffebd52db03cb663d3047c8a40cd6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EA=B7=9C=ED=83=9C?= <79373803+KyuTae98@users.noreply.github.com> Date: Wed, 27 Sep 2023 00:06:57 +0900 Subject: [PATCH] Update FakeIDEAdapter.ts Co-authored-by: Sowon Jung --- packages/view/src/ide/FakeIDEAdapter.ts | 1 + 1 file changed, 1 insertion(+) 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":