Skip to content
Permalink
Browse files

fix(ui): display channel cards at equal heights

Fix #2327
  • Loading branch information...
mrfelton committed Jun 5, 2019
1 parent f8fdada commit dac367a70de87b4126c8774022edd123d1b73d8c
@@ -43,6 +43,7 @@ const ChannelCardList = ({
<ChannelCardListItem
channel={channel}
currencyName={currencyName}
height="100%"
networkInfo={networkInfo}
openModal={openModal}
setSelectedChannel={setSelectedChannel}
@@ -21,7 +21,7 @@ const Flex = styled(BaseFlex)(opacity)
const areEqual = (prevProps, nextProps) => isEqual(prevProps, nextProps)

const ChannelCardListItem = React.memo(
({ channel, currencyName, openModal, setSelectedChannel, networkInfo }) => {
({ channel, currencyName, openModal, setSelectedChannel, networkInfo, ...rest }) => {
const {
channel_point,
display_name,
@@ -34,7 +34,7 @@ const ChannelCardListItem = React.memo(
const opacity = active ? 1 : 0.3

return (
<Card>
<Card {...rest}>
<Panel>
<Panel.Header>
<Flex justifyContent="space-between">

0 comments on commit dac367a

Please sign in to comment.
You can’t perform that action at this time.