Examples: remove unused myChart
variable (#41494)
This commit is contained in:
parent
1e7a20a24c
commit
a61555b6c2
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
// Graphs
|
// Graphs
|
||||||
const ctx = document.getElementById('myChart')
|
const ctx = document.getElementById('myChart')
|
||||||
// eslint-disable-next-line no-unused-vars
|
new Chart(ctx, {
|
||||||
const myChart = new Chart(ctx, {
|
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
// Graphs
|
// Graphs
|
||||||
const ctx = document.getElementById('myChart')
|
const ctx = document.getElementById('myChart')
|
||||||
// eslint-disable-next-line no-unused-vars
|
new Chart(ctx, {
|
||||||
const myChart = new Chart(ctx, {
|
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user