Browse Source

Merge pull request #98 from Empact/fix/close-channel

Fix that Channels was not passing down closeChannel to Channel
renovate/lint-staged-8.x
JimmyMow 7 years ago
committed by GitHub
parent
commit
7615874c85
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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 // store event in icon so we dont get an error when react clears it
const icon = event.currentTarget const icon = event.currentTarget
// fetch channels // fetch channels
fetchChannels() fetchChannels()
// clear animation after the second so we can reuse it // clear animation after the second so we can reuse it
@ -108,6 +108,7 @@ const Channels = ({
channel={channel} channel={channel}
setChannel={setChannel} setChannel={setChannel}
currentTicker={currentTicker} currentTicker={currentTicker}
closeChannel={closeChannel}
/> />
) )
}) })

Loading…
Cancel
Save