fix remove emtpy channelname

This commit is contained in:
Janis
2023-11-12 23:18:25 +01:00
parent 34ffedc294
commit 3e5ec1862e

View File

@@ -31,7 +31,7 @@ export default function Viewer({
return (
<div className="viewer">
{showChannelName ? (
{showChannelName && currentChannel ? (
<div className="channelNameContainer">
<h1>{currentChannel?.properties.name}</h1>
</div>