This commit is contained in:
Jon Eugster
2023-09-01 13:44:58 +02:00
parent 9c6ed17113
commit 22f0bac569
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ export function WelcomeAppBar({gameInfo, toggleImpressum, openEraseMenu, openUpl
</div>
<div>
<span className="app-bar-title">
{gameInfo.title}
{gameInfo?.title}
</span>
</div>
<div className="nav-btns">
+1 -1
View File
@@ -31,7 +31,7 @@ function IntroductionPanel({introduction}: {introduction: string}) {
// then this can be simplified.
// let text: Array<string> = introduction.split(/\n(\s*\n)+/)
let text: Array<string> = [introduction]
let text: Array<string> = introduction ? [introduction] : []
return <div className="column chat-panel">
<div className="chat">