Merge pull request #1 from Harshul23/copilot/fix-issue-1547

Fix calculateColor function declaration in browser-extension
pull/1594/head
Harshul 1 month ago committed by GitHub
commit 8abe75d022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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