Skip to content

Commit

Permalink
Merge pull request #165 from ajinkyapandetekdi/all-1.2-tn-dev
Browse files Browse the repository at this point in the history
Issueid #226614 feat: Record a retry Count and pass it to updatelearn…
  • Loading branch information
gouravmore authored Sep 19, 2024
2 parents 4dab595 + b046efe commit c48fc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/AudioCompare.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const AudioRecorder = (props) => {
const duration = {
...parsedDuration,
micStartTime: micStartTime,
retryCount: retryCount + 1,
retryCount: !!props?.recordedAudio ? retryCount + 1 : 0,
};

// Safely set the new duration data in localStorage
Expand Down

0 comments on commit c48fc3b

Please sign in to comment.