diff --git a/scripts/createConnections.js b/scripts/createConnections.js index 6a582108f8a645bcf83e5c4d4cdb98c9f478a64f..ab05e05b460318901ea5bdfbcc80ec71749b65c3 100644 --- a/scripts/createConnections.js +++ b/scripts/createConnections.js @@ -134,15 +134,14 @@ async function launch() { // Enedis await axios({ method: 'put', - url: - 'http://cozy.tools:8080/data/io.cozy.accounts/88e68b8450cee09fe2f077610901094d', + url: 'http://cozy.tools:8080/data/io.cozy.accounts/88e68b8450cee09fe2f077610901094d', headers: headers, data: dataEnedisAccount, }) - .then(function(response) { + .then(function (response) { console.log(JSON.stringify(response.data)) }) - .catch(function(error) { + .catch(function (error) { console.log(error) }) @@ -152,25 +151,24 @@ async function launch() { headers: headers, data: dataEnedisTrigger, }) - .then(function(response) { + .then(function (response) { console.log(JSON.stringify(response.data)) }) - .catch(function(error) { + .catch(function (error) { console.log(error) }) // GRDF await axios({ method: 'put', - url: - 'http://cozy.tools:8080/data/io.cozy.accounts/89e68b8450cee09fe2f077610901094d', + url: 'http://cozy.tools:8080/data/io.cozy.accounts/89e68b8450cee09fe2f077610901094d', headers: headers, data: dataGrdfAccount, }) - .then(function(response) { + .then(function (response) { console.log(JSON.stringify(response.data)) }) - .catch(function(error) { + .catch(function (error) { console.log(error) }) @@ -180,25 +178,24 @@ async function launch() { headers: headers, data: dataGrdfTrigger, }) - .then(function(response) { + .then(function (response) { console.log(JSON.stringify(response.data)) }) - .catch(function(error) { + .catch(function (error) { console.log(error) }) // EGL await axios({ method: 'put', - url: - 'http://cozy.tools:8080/data/io.cozy.accounts/90e68b8450cee09fe2f077610901094d', + url: 'http://cozy.tools:8080/data/io.cozy.accounts/90e68b8450cee09fe2f077610901094d', headers: headers, data: dataEglAccount, }) - .then(function(response) { + .then(function (response) { console.log(JSON.stringify(response.data)) }) - .catch(function(error) { + .catch(function (error) { console.log(error) }) @@ -208,10 +205,10 @@ async function launch() { headers: headers, data: dataEglTrigger, }) - .then(function(response) { + .then(function (response) { console.log(JSON.stringify(response.data)) }) - .catch(function(error) { + .catch(function (error) { console.log(error) }) } diff --git a/src/components/Charts/UncomingBar.tsx b/src/components/Charts/UncomingBar.tsx index 328c59b247f4a911668c702d348923818fa0df27..e669a5d07332862e775fade1c031464585c7361b 100644 --- a/src/components/Charts/UncomingBar.tsx +++ b/src/components/Charts/UncomingBar.tsx @@ -30,9 +30,9 @@ const UncomingBar = ({ const barClass = animationEnded ? `bar-UNCOMING ` - : `bar-UNCOMING bounce-${ - browser?.name !== 'edge' ? '1' : '3' - } delay--${index % 13}` + : `bar-UNCOMING bounce-${browser?.name !== 'edge' ? '1' : '3'} delay--${ + index % 13 + }` const getBandWidth = (): number => { return xScale.bandwidth()