diff --git a/web/src/pages/vm.tsx b/web/src/pages/vm.tsx index 7e49e4bce..197d9a421 100644 --- a/web/src/pages/vm.tsx +++ b/web/src/pages/vm.tsx @@ -156,6 +156,10 @@ const VM = () => { actions.loadVm(sources); actions.reset(); setStatus(""); + + if (uploadRef.current) { + uploadRef.current.value = ""; + } }; const onSpeedChange = (speed: number, testPanel: boolean) => {