Skip to content

Commit cd6405a

Browse files
committed
Fix internal error status
1 parent 65d1088 commit cd6405a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/renderer/src/App.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ function App() {
8181
if (loading) {
8282
return (
8383
<Box display="flex" height="100%" width="100%" justifyContent="center" alignItems="center">
84-
<Box display="flex" gap={1} alignItems="center">
84+
<Box display="flex" gap={2} alignItems="center">
8585
<CircularProgress />
86-
<Typography variant="h4">Connecting...</Typography>
86+
<Typography variant="h4">
87+
<strong>Connecting...</strong>
88+
</Typography>
8789
</Box>
8890
</Box>
8991
)

src/renderer/src/components/console.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ const Console = ({
7575
.map((submission) => submission.titleSlug)
7676

7777
const newSubmissions = submissions.filter(
78-
(submission: any) => !previousSubmissionKeys.includes(getSubmissionKey(submission))
78+
(submission: any) =>
79+
!previousSubmissionKeys.includes(getSubmissionKey(submission)) &&
80+
// if a submission is pending, for some reason it displays as "Internal Error"
81+
submission.statusDisplay !== 'Internal Error'
7982
)
8083

8184
// we have new submissions - process them

0 commit comments

Comments
 (0)