Show streamTitle in header if set. Closes #2720

This commit is contained in:
Gabe Kangas
2023-02-22 18:39:37 -08:00
parent 5a580f01ec
commit 8b8f221eb4
7 changed files with 19 additions and 35 deletions

View File

@@ -22,12 +22,7 @@ export type HeaderComponentProps = {
online: boolean;
};
export const Header: FC<HeaderComponentProps> = ({
name = 'Your stream title',
chatAvailable,
chatDisabled,
online,
}) => (
export const Header: FC<HeaderComponentProps> = ({ name, chatAvailable, chatDisabled, online }) => (
<header className={cn([`${styles.header}`], 'global-header')}>
{online ? (
<Link href="#player" className={styles.skipLink}>