mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
components/buffer-list: remove pointless temporary variable
This commit is contained in:
parent
e1bbe34ff2
commit
7f7a7c1aac
1 changed files with 2 additions and 3 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue