Remove unused variables
This commit is contained in:
@@ -2271,7 +2271,6 @@ export default class App extends Component {
|
||||
<${Buffer}
|
||||
buffer=${activeBuffer}
|
||||
server=${activeServer}
|
||||
bouncerNetwork=${activeBouncerNetwork}
|
||||
settings=${this.state.settings}
|
||||
onChannelClick=${this.handleChannelClick}
|
||||
onNickClick=${this.handleNickClick}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { html, Component } from "../lib/index.js";
|
||||
import { html } from "../lib/index.js";
|
||||
import linkify from "../lib/linkify.js";
|
||||
import { strip as stripANSI } from "../lib/ansi.js";
|
||||
import { BufferType, ServerStatus, getServerName } from "../state.js";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as irc from "../lib/irc.js";
|
||||
import { strip as stripANSI } from "../lib/ansi.js";
|
||||
import { html, Component } from "../lib/index.js";
|
||||
import { html } from "../lib/index.js";
|
||||
import { BufferType, Unread, ServerStatus, getBufferURL, getServerName } from "../state.js";
|
||||
|
||||
function BufferItem(props) {
|
||||
|
||||
@@ -151,7 +151,6 @@ class LogLine extends Component {
|
||||
content = html`${prefix}${createNick(msg.prefix.name)}${suffix} ${linkify(stripANSI(text), onChannelClick)}`;
|
||||
}
|
||||
|
||||
let status = null;
|
||||
let allowedPrefixes = server.statusMsg;
|
||||
if (target !== buf.name && allowedPrefixes) {
|
||||
let parts = irc.parseTargetPrefix(target, allowedPrefixes);
|
||||
@@ -673,7 +672,6 @@ export default class Buffer extends Component {
|
||||
}
|
||||
|
||||
let server = this.props.server;
|
||||
let bouncerNetwork = this.props.bouncerNetwork;
|
||||
let settings = this.props.settings;
|
||||
let serverName = server.name;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { html, Component } from "../lib/index.js";
|
||||
import { html } from "../lib/index.js";
|
||||
import { keybindings } from "../keybindings.js";
|
||||
import commands from "../commands.js";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { html, Component } from "../lib/index.js";
|
||||
import { html } from "../lib/index.js";
|
||||
import * as irc from "../lib/irc.js";
|
||||
|
||||
export default function Membership(props) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { html, Component } from "../lib/index.js";
|
||||
import { Component } from "../lib/index.js";
|
||||
|
||||
let store = new Map();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user