Skip to content

Commit

Permalink
Fix stuck on loading problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawal-d authored Jul 30, 2024
1 parent 50de3d7 commit 7a798a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webview/JudgeView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 7a798a5

Please sign in to comment.