diff --git a/client/src/components/chat.tsx b/client/src/components/chat.tsx index 8b734ff1..0fbf1cb7 100644 --- a/client/src/components/chat.tsx +++ b/client/src/components/chat.tsx @@ -60,6 +60,7 @@ export function MoreHelpButton({selected=null} : {selected?: number}) { {t("Show more help!")} } + return <> } /** Placeholder that takes the same space as a button. */ @@ -83,21 +84,6 @@ export function ChatButtons ({counter=undefined, setCounter=()=>{}, introMessage const readIntro = useSelector(selectReadIntro(gameId, worldId)) return
- {/* { ((mobile && !worldId) || worldId && !levelId) && - // Start button appears only on world selection and level 0. - - } */} {!levelId && (readIntro || (counter >= introMessages.length) ? ((worldId || mobile) && <> @@ -138,9 +124,8 @@ export function ChatButtons ({counter=undefined, setCounter=()=>{}, introMessage Skip all - )} - { worldId && levelId && } + { (worldId && levelId) ? : <> }
}