Skip to content

Commit

Permalink
Task #224175 fix: sonar issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
deechavhan098 committed Jul 30, 2024
1 parent e063b00 commit e5f57f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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 @@ -95,7 +95,7 @@ const AudioRecorderCompair = (props) => {
{(!props.dontShowListen || props.recordedAudio) && (
<>
{!props.pauseAudio ? (
<div onClick={() => { props.playAudio(true); }}>
<div role="button" tabIndex="0" onClick={() => { props.playAudio(true); }} aria-label="Play audio">
<Box sx={{ cursor: "pointer" }}>
<ListenButton />
</Box>
Expand Down
1 change: 1 addition & 0 deletions src/views/Practice/Practice.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ const Practice = () => {
currentQuestion === questions.length - 1 || isGameOver
? currentPracticeStep + 1
: currentPracticeStep;
newPracticeStep = Number(newPracticeStep);
let newQuestionIndex =
currentQuestion === questions.length - 1 ? 0 : currentQuestion + 1;

Expand Down

0 comments on commit e5f57f5

Please sign in to comment.