From 19a86be5df6379055e2aacc99c8736490395d1cc Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Tue, 9 Jan 2018 14:18:07 -0600 Subject: [PATCH] fix(lint): fix linting errors --- app/components/Contacts/ContactModal.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/components/Contacts/ContactModal.js b/app/components/Contacts/ContactModal.js index cd23af5a..33842363 100644 --- a/app/components/Contacts/ContactModal.js +++ b/app/components/Contacts/ContactModal.js @@ -35,6 +35,10 @@ const ContactModal = ({ } } + const removeClicked = () => { + closeChannel({ channel_point: channel.channel_point, chan_id: channel.chan_id, force: !channel.active }) + } + // the remote node for the channel const node = find(channelNodes, { pub_key: channel.remote_pubkey }) @@ -109,7 +113,7 @@ const ContactModal = ({ : -
closeChannel({ channel_point: channel.channel_point, chan_id: channel.chan_id, force: !channel.active })}>Remove
+
Remove
}