fix remove emtpy channelname

This commit is contained in:
Janis
2023-11-12 23:18:25 +01:00
parent 34ffedc294
commit 3e5ec1862e
+1 -1
View File
@@ -31,7 +31,7 @@ export default function Viewer({
return ( return (
<div className="viewer"> <div className="viewer">
{showChannelName ? ( {showChannelName && currentChannel ? (
<div className="channelNameContainer"> <div className="channelNameContainer">
<h1>{currentChannel?.properties.name}</h1> <h1>{currentChannel?.properties.name}</h1>
</div> </div>