Browse Source
fix(channels prop): Fix that Channels was not passing down closeChannel to Channel
This is a required prop.
renovate/lint-staged-8.x
Ben Woosley
7 years ago
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345
1 changed files with
2 additions and
1 deletions
-
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} |
|
|
|
/> |
|
|
|
) |
|
|
|
}) |
|
|
|