Skip to content

Commit

Permalink
start cleanning
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Nov 1, 2024
1 parent 40f089d commit dea37f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion production/webapp/src/AudioRecorderComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const AudioRecorderComponent = ({}) => {
onDataAvailable: (data) => {
console.log('Enregistrement de données audio (callback)');
setChunkIndex((prevIndex) => {
closureChunkIndex++;
closureChunkIndex = prevIndex + 1;
return prevIndex + 1;
});
sendAudioChunk(fetch, baseUrl)(data, clientId, closureChunkIndex);
Expand Down

0 comments on commit dea37f0

Please sign in to comment.