From 7f7a7c1aacc289ac4eff447b8b30605d32b1fce6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 4 Feb 2022 14:32:29 +0100 Subject: [PATCH] components/buffer-list: remove pointless temporary variable --- components/buffer-list.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/buffer-list.js b/components/buffer-list.js index 46b2f11..3537198 100644 --- a/components/buffer-list.js +++ b/components/buffer-list.js @@ -44,9 +44,8 @@ export default function BufferList(props) { let server = props.servers.get(buf.server); let bouncerNetwork = null; - let bouncerNetID = server.bouncerNetID; - if (bouncerNetID) { - bouncerNetwork = props.bouncerNetworks.get(bouncerNetID); + if (server.bouncerNetID) { + bouncerNetwork = props.bouncerNetworks.get(server.bouncerNetID); } return html`