Skip to content

Commit a61555b

Browse files
Examples: remove unused myChart variable (#41494)
1 parent 1e7a20a commit a61555b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

site/src/assets/examples/dashboard-rtl/dashboard.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
// Graphs
77
const ctx = document.getElementById('myChart')
8-
// eslint-disable-next-line no-unused-vars
9-
const myChart = new Chart(ctx, {
8+
new Chart(ctx, {
109
type: 'line',
1110
data: {
1211
labels: [

site/src/assets/examples/dashboard/dashboard.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
// Graphs
77
const ctx = document.getElementById('myChart')
8-
// eslint-disable-next-line no-unused-vars
9-
const myChart = new Chart(ctx, {
8+
new Chart(ctx, {
109
type: 'line',
1110
data: {
1211
labels: [

0 commit comments

Comments
 (0)