From a0f8f1f52f84acd7a1b5be75599bdf69f35ae626 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 10 Jan 2022 10:32:37 +0100 Subject: [PATCH] components/buffer: fix INVITE link It was throwing a TypeError. --- components/buffer.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/buffer.js b/components/buffer.js index 083aa15..f312c17 100644 --- a/components/buffer.js +++ b/components/buffer.js @@ -85,12 +85,8 @@ class LogLine extends Component { `; } function createChannel(channel) { - function onClick(event) { - event.preventDefault(); - onChannelClick(channel); - } return html` - + ${channel} `;