Skip to content

Commit

Permalink
Merge pull request #238 from ajinkyapandetekdi/black-screen-issue-rig…
Browse files Browse the repository at this point in the history
…-template
  • Loading branch information
gouravmore authored Feb 27, 2024
2 parents 8480e77 + e6715d6 commit dc81c83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/Test-Rig-Two/Story/Story.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@ const Story = ({ forceRerender, setForceRerender }) => {
setSourceChars(data?.getTargetChar);
setPosts(newPosts);
setCurrentLine(0);
if(posts.length > 0){
SetTemplate(practiceCompletionCriteria[completionCriteriaIndex]?.template || 'simple')
}
SetTemplate(practiceCompletionCriteria[completionCriteriaIndex]?.template || 'simple')
setLoading(false);
});
setLoading(false);
Expand Down

0 comments on commit dc81c83

Please sign in to comment.