Skip to content

Commit eea447c

Browse files
committed
Update Console.js
1 parent bc8fc9e commit eea447c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/Console.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const Console = ({ run }) => {
1313
stdoutContainerRef.current.scrollTop = diff;
1414
}, []);
1515

16+
// Every time the component updates, scroll to the bottom
1617
useEffect(() => {
1718
scrollConsoleToBottom();
1819
});

0 commit comments

Comments
 (0)