From 463f04f38459250609291e8cf6554cc1dc066029 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 3 Dec 2017 21:32:32 +0100 Subject: disable livestreams --- client/src/lib/views/livestream.js | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'client/src/lib/views/livestream.js') diff --git a/client/src/lib/views/livestream.js b/client/src/lib/views/livestream.js index 5df52aa..34a6d2d 100644 --- a/client/src/lib/views/livestream.js +++ b/client/src/lib/views/livestream.js @@ -23,41 +23,8 @@ export default class Livestream extends Component { } } render() { - const buttons = this.props.content.streams.map( (stream, i) => { - const ytid = getYTID(stream.uri || "") - if (! ytid) return null - let buttonStyle, textStyle - if (ytid === this.state.ytid) { - buttonStyle = styles.activeButton - textStyle = styles.activeButtonText - } - return ( -