Skip to content

Commit

Permalink
bugfix on conditonally rendering SingleTestContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonligg committed Dec 16, 2020
1 parent cfe6bb3 commit 55536e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/containers/TestsContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import SingleTestContainer from './SingleTestContainer';

export default function TestsContainer({ currentResponse }) {
return (
currentResponse.response && currentResponse.response.testContent ?
currentResponse.response && currentResponse.response.testResult ?
<SingleTestContainer currentResponse={currentResponse} />
: <EmptyState />
);
Expand Down

0 comments on commit 55536e8

Please sign in to comment.