From 462c1162b403bdb832f3b26bfb8adab590d460ad Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Sun, 10 Dec 2017 17:32:01 -0800 Subject: [PATCH] fix(channels prop): Fix that Channels was not passing down closeChannel to Channel This is a required prop. --- app/components/Channels/Channels.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/Channels/Channels.js b/app/components/Channels/Channels.js index ab2d29f2..43e47371 100644 --- a/app/components/Channels/Channels.js +++ b/app/components/Channels/Channels.js @@ -29,7 +29,7 @@ const Channels = ({ // store event in icon so we dont get an error when react clears it const icon = event.currentTarget - // fetch channels + // fetch channels fetchChannels() // clear animation after the second so we can reuse it @@ -108,6 +108,7 @@ const Channels = ({ channel={channel} setChannel={setChannel} currentTicker={currentTicker} + closeChannel={closeChannel} /> ) })