File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
source/views/streaming/streams Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,11 @@ export class StreamListView extends React.PureComponent {
3939 state : {
4040 error : ?Error ,
4141 loaded : boolean ,
42- noStreams : boolean ,
4342 refreshing : boolean ,
4443 streams : Array < { title : string , data : Array < StreamType > } > ,
4544 } = {
4645 error : null ,
4746 loaded : false ,
48- noStreams : false ,
4947 refreshing : false ,
5048 streams : [ ] ,
5149 }
@@ -87,10 +85,6 @@ export class StreamListView extends React.PureComponent {
8785 const data = await fetchJson ( streamsAPI )
8886 const streams = data . results
8987
90- if ( streams . length > 1 ) {
91- this . setState ( ( ) => ( { noStreams : true } ) )
92- }
93-
9488 // force title-case on the stream types, to prevent not-actually-duplicate headings
9589 const processed = streams
9690 . filter ( stream => stream . category !== 'athletics' )
You can’t perform that action at this time.
0 commit comments