]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/episodes/Channels.js
fix manual heart pieces
[alttp.git] / resources / js / components / episodes / Channels.js
index fb1014779f6257e69d3e7435aa511c2b154e1918..f3fbf05544218781f714446a640cbcfa8d34dd7b 100644 (file)
@@ -3,16 +3,22 @@ import React from 'react';
 
 import Channel from './Channel';
 
-const Channels = ({ channels }) =>
-       <div className="episode-channels text-right">
-               {channels.map(channel =>
-                       <Channel channel={channel} key={channel.id} />
-               )}
-       </div>;
+const Channels = ({ channels, episode, onEditRestream }) =>
+       channels.map(channel =>
+               <Channel
+                       channel={channel}
+                       episode={episode}
+                       key={channel.id}
+                       onEditRestream={onEditRestream}
+               />
+       );
 
 Channels.propTypes = {
        channels: PropTypes.arrayOf(PropTypes.shape({
        })),
+       episode: PropTypes.shape({
+       }),
+       onEditRestream: PropTypes.func,
 };
 
 export default Channels;