This commit is contained in:
nmemmert
2026-06-18 14:02:13 -04:00
parent 83c3f554aa
commit 2169739910
-2
View File
@@ -1704,8 +1704,6 @@ export function ColossiansStudySectionPage({ content }: Props) {
return () => window.removeEventListener('mousedown', handleClick) return () => window.removeEventListener('mousedown', handleClick)
}, [contextNoteMenu]) }, [contextNoteMenu])
const releasedSectionCount = sections.filter(s => isSectionReleased(s)).length
function checkAndShowCelebration(newIds: string[], wasAlreadyComplete: boolean) { function checkAndShowCelebration(newIds: string[], wasAlreadyComplete: boolean) {
if (wasAlreadyComplete) return if (wasAlreadyComplete) return
if (sections.length > 0 && newIds.length >= sections.length) { if (sections.length > 0 && newIds.length >= sections.length) {