From 1e72b93143d544bcf72145c4708083272fd52a6b Mon Sep 17 00:00:00 2001 From: saji Date: Fri, 8 Mar 2024 22:00:18 -0600 Subject: [PATCH] remove unused variable --- web/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app.ts b/web/src/app.ts index f3bc2ac..f033374 100644 --- a/web/src/app.ts +++ b/web/src/app.ts @@ -280,7 +280,7 @@ function TelemRealtimeProvider() { subscribe: function (dObj, callback) { // identifier is packetname.fieldname. we add the packet name to the set. const key = dObj.identifier.key - const [pktName, _] = key.split('.') + const pktName = key.split('.')[0] // add our callback to the dictionary, // add the packet name to the set callbacks[key] = callback