Fix linting errors

This commit is contained in:
Michael Jackson 2019-01-15 14:57:09 -08:00
parent 3fd7ef86f3
commit 7800180d3b
2 changed files with 10 additions and 10 deletions

View File

@ -313,7 +313,7 @@ export default class App extends React.Component {
<p> <p>
The unpkg CDN is powered by{' '} The unpkg CDN is powered by{' '}
<a href="https://www.cloudflare.com">Cloudflare</a>, one of the <a href="https://www.cloudflare.com">Cloudflare</a>, one of the
world's largest and fastest cloud network platforms.{' '} world&apos;s largest and fastest cloud network platforms.{' '}
{hasStats && ( {hasStats && (
<span> <span>
In the past month, Cloudflare served over{' '} In the past month, Cloudflare served over{' '}

View File

@ -1,17 +1,17 @@
// import data from './data'; // import data from './data';
import * as cloudflare from './cloudflare'; import * as cloudflare from './cloudflare';
// export function createDayKey(date) { export function createDayKey(date) {
// return `${date.getUTCFullYear()}-${date.getUTCMonth()}-${date.getUTCDate()}`; return `${date.getUTCFullYear()}-${date.getUTCMonth()}-${date.getUTCDate()}`;
// } }
// export function createHourKey(date) { export function createHourKey(date) {
// return `${createDayKey(date)}-${date.getUTCHours()}`; return `${createDayKey(date)}-${date.getUTCHours()}`;
// } }
// export function createMinuteKey(date) { export function createMinuteKey(date) {
// return `${createHourKey(date)}-${date.getUTCMinutes()}`; return `${createHourKey(date)}-${date.getUTCMinutes()}`;
// } }
// function createScoresMap(array) { // function createScoresMap(array) {
// const map = {}; // const map = {};