Skip to content

Commit cc3b5dd

Browse files
committed
Update Console.js
1 parent 6fb9f2e commit cc3b5dd

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

src/app/Console.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,26 @@ const Console = observer(({ run }) => {
5858
{run.stdout}
5959
</Box>
6060
)}
61-
{run.stderr && (
62-
<Box
63-
component="code"
64-
sx={{
65-
color: (theme) => theme.palette.console.contrastText,
66-
fontFamily: 'Consolas, "Liberation Mono", Menlo, Courier, monospace',
67-
fontSize: '12px',
68-
height: '100%',
69-
position: 'absolute',
70-
width: '100%',
71-
whiteSpace: 'pre-wrap',
72-
wordBreak: 'break-all',
73-
}}
74-
>
75-
{run.stderr}
76-
</Box>
77-
)}
7861
</div>
7962
</Box>
8063
return (
64+
{run.stderr && (
65+
<Box
66+
component="code"
67+
sx={{
68+
color: (theme) => theme.palette.console.contrastText,
69+
fontFamily: 'Consolas, "Liberation Mono", Menlo, Courier, monospace',
70+
fontSize: '12px',
71+
height: '100%',
72+
position: 'absolute',
73+
width: '100%',
74+
whiteSpace: 'pre-wrap',
75+
wordBreak: 'break-all',
76+
}}
77+
>
78+
{run.stderr}
79+
</Box>
80+
)}
8181
);
8282
});
8383

0 commit comments

Comments
 (0)