+
{channel.name}
+ {channel.verified && (
+
+ )}
@@ -125,22 +130,32 @@ class ChannelPageŠ”omponent extends React.Component<
{tabId !== "videos" ? (
- {tab?.content.map((video) => {
- if (video.type === "stream") {
- video = video as Video;
+ {tab?.content.map((item) => {
+ if (item.type === "stream") {
+ item = item as Video;
return (
);
- } else {
+ } else if (item.type === "playlist") {
+ item = item as Playlist;
return (
-
- Soon...
-
+
);
+ } else if (item.type === "channel") {
+ item = item as Channel;
+ return Soon...
;
+ } else {
+
+ Idk how to render this
+
;
}
})}