]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Examples: remove unused `myChart` variable (#41494)
authorJulien Déramond <juderamond@gmail.com>
Sun, 25 May 2025 12:29:41 +0000 (14:29 +0200)
committerGitHub <noreply@github.com>
Sun, 25 May 2025 12:29:41 +0000 (14:29 +0200)
site/src/assets/examples/dashboard-rtl/dashboard.js
site/src/assets/examples/dashboard/dashboard.js

index bdb3029d3d77caad4519563767b7c8a3c4c755e9..590eb3e384860ecf879d0ca5a435fc7e2a4d5978 100644 (file)
@@ -5,8 +5,7 @@
 
   // Graphs
   const ctx = document.getElementById('myChart')
-  // eslint-disable-next-line no-unused-vars
-  const myChart = new Chart(ctx, {
+  new Chart(ctx, {
     type: 'line',
     data: {
       labels: [
index a60b39356adec478693cddac705ea6785a3e1183..0bae98736b8f28ead947e0352542074b04dd38a2 100644 (file)
@@ -5,8 +5,7 @@
 
   // Graphs
   const ctx = document.getElementById('myChart')
-  // eslint-disable-next-line no-unused-vars
-  const myChart = new Chart(ctx, {
+  new Chart(ctx, {
     type: 'line',
     data: {
       labels: [