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
parent
commit
462c1162b4
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 3
      app/components/Channels/Channels.js

3
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}
/>
)
})

Loading…
Cancel
Save