From ef98e6d0c9199c7e21ca6f699c93e7d7292c8364 Mon Sep 17 00:00:00 2001 From: Gauravjeet Singh Date: Mon, 10 Jun 2024 22:39:33 -0400 Subject: [PATCH] fix: resolve the ceremony load issue --- www/main/navigator/shabad/utils/change-verse.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/main/navigator/shabad/utils/change-verse.js b/www/main/navigator/shabad/utils/change-verse.js index d117a664..84e90442 100644 --- a/www/main/navigator/shabad/utils/change-verse.js +++ b/www/main/navigator/shabad/utils/change-verse.js @@ -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) {