Skip to content

Commit

Permalink
fix: resolve the ceremony load issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravjeetsingh committed Jun 11, 2024
1 parent d5e7864 commit ef98e6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions www/main/navigator/shabad/utils/change-verse.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ export const changeVerse = (
setPreviousIndex(null);
}

if (!isSundarGutkaBani) {
setIsSundarGutkaBani(true);
if (isSundarGutkaBani) {
setIsSundarGutkaBani(false);
}
if (isCeremonyBani) {
setIsCeremonyBani(false);
if (!isCeremonyBani) {
setIsCeremonyBani(true);
}
} else if (baniType === 'shabad') {
if (clickedShabad !== activeShabadId) {
Expand Down

0 comments on commit ef98e6d

Please sign in to comment.