Fix calculateColor function declaration with const keyword

Co-authored-by: Harshul23 <180513191+Harshul23@users.noreply.github.com>
pull/1594/head^2
copilot-swe-agent[bot] 1 month ago
parent 02c012c00f
commit e4fa9168a1

File diff suppressed because one or more lines are too long

@ -14,7 +14,7 @@ const fossilfuel = document.querySelector('.fossil-fuel');
const myregion = document.querySelector('.my-region');
const clearBtn = document.querySelector('.clear-btn');
calculateColor = async (value) => {
const calculateColor = async (value) => {
let co2Scale = [0, 150, 600, 750, 800];
let colors = ['#2AA364', '#F5EB4D', '#9E4229', '#381D02', '#381D02'];

Loading…
Cancel
Save