Skip to content

Commit

Permalink
Merge pull request #213 from gouravmore/rig-templates
Browse files Browse the repository at this point in the history
Issue #0000: next line issue
  • Loading branch information
gouravmore authored Feb 11, 2024
2 parents b5ae453 + 5470a40 commit f0e87a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Test-Rig-Two/Story/Story.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ const Story = ({ forceRerender, setForceRerender }) => {
{ response_word_array_result: [] },
{ response_word_result: '' },
{ accuracy_percentage: 0 },
{ template: practiceCompletionCriteria[completionCriteriaIndex]?.template || ''},
{ duration: 0 },
],
},
Expand Down Expand Up @@ -369,9 +370,8 @@ const Story = ({ forceRerender, setForceRerender }) => {
setWellDone(true);
} else {
setCurrentLine(currentLine + 1);
SetTemplate(practiceCompletionCriteria[completionCriteriaIndex]?.template || '')
}

SetTemplate(practiceCompletionCriteria[completionCriteriaIndex]?.template || '')
};

const handleAddPointer = async point => {
Expand Down

0 comments on commit f0e87a5

Please sign in to comment.