Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
state => ({
serverRunning: store.getServerRunning(state),
isSynced: store.getSyncedToChain(state),
pubkey: store.getAccountPubkey(state),
currency: store.getCurrency(state),
balances: store.getAccountBalances(state),
}), {
onShowPopup: popupActions.onOpen,
onClosePopup: popupActions.onClose,
onCloseChannel: actions.startCloseChannel,
onSuccess: notificationActions.addNotification,
onFetchChannels: accountsActions.fetchChannels,
onfetchAccount: accountsActions.fetchAccount,
onfetchBalances: accountsActions.fetchBalances,
},
)(handleHover(ChannelListItem))
style={ styles.Swatch }
color={ color }
onClick={ onClick }
onHover={ onSwatchHover }
focusStyle={{ boxShadow: `${ styles.Swatch.boxShadow }, 0 0 5px ${ color }` }}
/>
)
}
CircleSwatch.defaultProps = {
circleSize: 28,
circleSpacing: 14,
}
export default handleHover(CircleSwatch)
},
}, { hover })
return (
<div style="{">
</div>
)
}
export default handleHover(GithubSwatch)