From 7a798a5db90f42ab9e07698d0d3bc2ef6a4c8106 Mon Sep 17 00:00:00 2001 From: Divyanshu Agrawal Date: Tue, 30 Jul 2024 10:44:08 +0530 Subject: [PATCH] Fix stuck on loading problem. --- src/webview/JudgeView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview/JudgeView.ts b/src/webview/JudgeView.ts index cdb2e23..9347a85 100644 --- a/src/webview/JudgeView.ts +++ b/src/webview/JudgeView.ts @@ -228,7 +228,7 @@ class JudgeViewProvider implements vscode.WebviewViewProvider { // Since the react script takes time to load, the problem is sent to the webview before it has even loaded. // So, for the initial request, ask for it again. window.vscodeApi = acquireVsCodeApi(); - window.remoteMessage = ${globalThis.remoteMessage}; + window.remoteMessage = "${globalThis.remoteMessage}"; document.addEventListener( 'DOMContentLoaded', (event) => {