Skip to content

Commit 377f0a3

Browse files
committed
fix: logs getting messed up on subsequent runs
1 parent d347917 commit 377f0a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ ${result.outputFiles[0].text}
237237
}
238238

239239
setLogs([]);
240+
windowRef.current?.resetAfterIndex(0);
240241

241242
try {
242243
await import(/* @vite-ignore */ url);

0 commit comments

Comments
 (0)