Skip to content

Commit f9da3bc

Browse files
committed
Update Console.js
1 parent 5d2c5f6 commit f9da3bc

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/app/Console.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,19 @@ const Console = observer(({ run }) => {
2828

2929
const { run } = this.props;
3030
return (
31-
<Box
32-
ref={this.onMountStdoutContainer}
33-
sx={{
34-
color: (theme) => theme.palette.console.contrastText,
35-
background: (theme) => theme.palette.console.background,
36-
padding: '10px',
37-
width: '100%',
38-
height: '100%',
39-
overflowY: 'auto',
40-
position: 'relative',
41-
}}
42-
>
43-
</Box>
4431
return (
32+
<Box
33+
ref={stdoutContainerRef}
34+
sx={{
35+
color: (theme) => theme.palette.console.contrastText,
36+
background: (theme) => theme.palette.console.background,
37+
padding: '10px',
38+
width: '100%',
39+
height: '100%',
40+
overflowY: 'auto',
41+
position: 'relative',
42+
}}
43+
>
4544
<div>
4645
{run.stdout && (
4746
<Box
@@ -78,6 +77,7 @@ const Console = observer(({ run }) => {
7877
</Box>
7978
)}
8079
</div>
80+
</Box>
8181
);
8282
});
8383

0 commit comments

Comments
 (0)