Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #57 from CodeChefVIT/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
souvik150 authored Sep 23, 2023
2 parents 09f7abf + d4040ca commit c54ebeb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/components/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ function SubmitCode(props) {
"Time Limit Exceeded",
"Wrong Output",
];

const subRes = [
"No Runtime error",
"Within time limit",
"ALl test cases have passed",
];
useEffect(() => {
setTestCaseClicked(0);
containerRef.current.scrollIntoView();
Expand Down Expand Up @@ -91,7 +95,7 @@ function SubmitCode(props) {
<div className="text-center">
<div>Correct</div>
<div className="text-xs text-center">
{subData[index]}
{subRes[index]}
</div>
</div>
</div>
Expand Down

0 comments on commit c54ebeb

Please sign in to comment.