refactor: small code improvements

This commit is contained in:
Carlos Valente
2025-08-09 08:19:14 +02:00
committed by Carlos Valente
parent e5d2457717
commit 9ab6b30aea
5 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -771,7 +771,7 @@ export function loadGroupFlagAndEnd(
currentIndex: MaybeNumber,
state = runtimeState,
) {
if (currentIndex === null) return resetMetaData();
if (currentIndex == null) return resetMetaData();
if (state.eventNow === null) return resetMetaData();
const currentGroupId = state.eventNow.parent;