components/buffer-list: remove pointless temporary variable

This commit is contained in:
Simon Ser 2022-02-04 14:32:29 +01:00
parent e1bbe34ff2
commit 7f7a7c1aac

View file

@ -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`