Skip to content

Commit

Permalink
Merge pull request #174 from gouravmore/all-rig-0.1-lesson-progress
Browse files Browse the repository at this point in the history
Issue #0000: Fixed duplicate if-else issue
  • Loading branch information
gouravmore authored Jan 16, 2024
2 parents 56cb831 + 0f37615 commit 1f02952
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pages/Test-Rig-Two/Story/Story.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,6 @@ const Story = ({forceRerender, setForceRerender}) => {
if (currentLine >= posts?.length - 1) {
handleStarAnimation();
setWellDone(true);
} else if (currentLine >= posts?.length - 1) {
fetchApi();
setCurrentLine(currentLine + 1);
} else {
setCurrentLine(currentLine + 1);
}
Expand Down

0 comments on commit 1f02952

Please sign in to comment.