From 095d44fc5379321f071e7fbeaeed4ab28372beff Mon Sep 17 00:00:00 2001 From: guangwu Date: Fri, 8 Mar 2024 14:38:43 +0800 Subject: [PATCH] fix(client): typo in python worker handler (#54022) --- client/src/templates/Challenges/utils/python-worker-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/templates/Challenges/utils/python-worker-handler.ts b/client/src/templates/Challenges/utils/python-worker-handler.ts index dc447a5a519..ac6dbdce5bc 100644 --- a/client/src/templates/Challenges/utils/python-worker-handler.ts +++ b/client/src/templates/Challenges/utils/python-worker-handler.ts @@ -94,7 +94,7 @@ export function interruptCodeExecution(): void { navigator.serviceWorker.controller?.postMessage( JSON.stringify({ type: 'cancel', - value: '' + resetId // Converting to string for convenience. (TODO: check if necesary) + value: '' + resetId // Converting to string for convenience. (TODO: check if necessary) }) );