+ {level?.data?.introduction &&
- Level completed! 🎉
+ {level?.data?.introduction}
- {level?.data?.conclusion?.trim() &&
+ }
+ {/* {openHints.map(hint =>
)}
+ {hiddenHints.length > 0 &&
+
setShowHints((prev) => !prev)} />}
+ label="I need help!"
+ />}
+ {showHints && hiddenHints.map(hint => )} */}
+ {hints.map(hint =>
+ {hint.text}
)
+ }
+ {completed &&
+ <>
- {level?.data?.conclusion}
+ Level completed! 🎉
- }
- {/* { hints.map(hint => {hint.text}
) } */}
-
- {levelId >= gameInfo.data?.worldSize[worldId] ?
- :
- }
- >
- }
-
+ {level?.data?.conclusion?.trim() &&
+
+ {level?.data?.conclusion}
+
+ }
+ {levelId >= gameInfo.data?.worldSize[worldId] ?
+ :
+ }
+ >
+ }
+
+ {/* { hints.map(hint => {hint.text}
) } */}
+
+ {/* TODO: Remove this debugging message: */}
+ {showHiddenHints && Hidden Hints are displayed
}
+
+