From 90527a83d1f4d9ba0b458d5f431e0b4427bf5b71 Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 2 Dec 2020 08:38:35 +0100 Subject: [PATCH] new try to avoid lgtm unused-local-variable warning --- dist/js/pages/dashboard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/js/pages/dashboard.js b/dist/js/pages/dashboard.js index ee65df63a..0212256a2 100644 --- a/dist/js/pages/dashboard.js +++ b/dist/js/pages/dashboard.js @@ -166,8 +166,7 @@ $(function () { // This will get the first returned node in the jQuery collection. // eslint-disable-next-line no-unused-vars - var salesChart = new Chart(salesChartCanvas, { - // lgtm [js/unused-local-variable] + var salesChart = new Chart(salesChartCanvas, { // lgtm [js/unused-local-variable] type: 'line', data: salesChartData, options: salesChartOptions