Skip to content

Commit bc8fc9e

Browse files
committed
Update Console.js
1 parent 8e68cb8 commit bc8fc9e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/Console.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { observer } from 'mobx-react-lite';
33
import PropTypes from 'prop-types';
44
import Box from '@mui/material/Box';
55

6-
const Console = observer(({ run }) => {
6+
const Console = ({ run }) => {
77
const stdoutContainerRef = useRef(null);
88

99
const scrollConsoleToBottom = useCallback(() => {
@@ -68,10 +68,10 @@ const Console = observer(({ run }) => {
6868
</div>
6969
</Box>
7070
);
71-
});
71+
};
7272

7373
Console.propTypes = {
7474
run: PropTypes.object.isRequired
7575
};
7676

77-
export default Console;
77+
export default observer(Console);

0 commit comments

Comments
 (0)