'use strict';

import React from 'react';
import connect from '../../bicycle/connect';

@connect(props => ({channels: {id: props.params.channel}}))
export default class ChannelSelector {
  render() {
    if (this.props.loading) {
      return <div>Loading...</div>;
    }
    return (
      <h1>{this.props.channels[0].name}</h1>
    );
  }
};

@@ -201,16 +201,17 @@
     if (
+!
 this.pro
@@ -217,19 +217,18 @@
 ops.load
-ing
+ed
 ) %7B%0A    

Fix typo in property name