We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e68cb8 commit bc8fc9eCopy full SHA for bc8fc9e
1 file changed
src/app/Console.js
@@ -3,7 +3,7 @@ import { observer } from 'mobx-react-lite';
3
import PropTypes from 'prop-types';
4
import Box from '@mui/material/Box';
5
6
-const Console = observer(({ run }) => {
+const Console = ({ run }) => {
7
const stdoutContainerRef = useRef(null);
8
9
const scrollConsoleToBottom = useCallback(() => {
@@ -68,10 +68,10 @@ const Console = observer(({ run }) => {
68
</div>
69
</Box>
70
);
71
-});
+};
72
73
Console.propTypes = {
74
run: PropTypes.object.isRequired
75
};
76
77
-export default Console;
+export default observer(Console);
0 commit comments