diff --git a/frontend/src/views/submissions.js b/frontend/src/views/submissions.js index cd49112b..13b35e5a 100755 --- a/frontend/src/views/submissions.js +++ b/frontend/src/views/submissions.js @@ -318,19 +318,11 @@ class Submissions extends Component {
) } else if (this.state.currentSubmission.length == 0) { - if (this.state.status == 0) { - return ( -- Your code is being submitted -- you'll see it here if it finishes successfully. -
- ) - } else { - return ( -- You haven't submitted any code yet! -
- ) - } + return ( ++ You haven't submitted any code yet! +
+ ) } else { const submissionRows = this.state.currentSubmission.map((submission, index) => { if (Object.keys(submission).length === 0) { @@ -400,19 +392,11 @@ class Submissions extends Component { ) } else if (this.state.lastSubmissions.length == 0) { - if (this.state.status == 0) { - return ( -- Your code is being submitted -- you'll see it here if it finishes successfully. -
- ) - } else { - return ( -- You haven't submitted any code yet! -
- ) - } + return ( ++ You haven't had any successful submissions yet! (If you have code being submitted, you'll see it here if it finishes successfully.) +
+ ) } else { const submissionRows = this.state.lastSubmissions.map((submission, index) => { if (Object.keys(submission).length === 0) {