Skip to content

Commit 4762b2a

Browse files
committed
static: remove unused variables
1 parent edc4e70 commit 4762b2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/static/src/app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@ import WebSocketClient from "./socket.js";
66
import "bootstrap/dist/js/bootstrap.min.js";
77

88
const dataRetentionSeconds = 600;
9-
let config;
109
export var allPlots;
1110

1211
let statsMgr;
1312
export const connect = () => {
1413
const uri = buildWebsocketURI();
15-
const client = new WebSocketClient(
14+
new WebSocketClient(
1615
uri,
1716
// onConfig
1817
(cfg) => {
19-
config = cfg;
2018
allPlots = configurePlots(cfg);
2119
statsMgr = new StatsManager(dataRetentionSeconds, cfg);
2220
attachPlots(allPlots);

0 commit comments

Comments
 (0)