From 820a5231f797378dc58e6a83a8654932f175aca1 Mon Sep 17 00:00:00 2001 From: Ayush Shukla Date: Mon, 6 Jul 2020 14:51:13 +0530 Subject: [PATCH] Refactor: Remove unused constants --- src/constants.js | 49 ------------------------------------------------ 1 file changed, 49 deletions(-) diff --git a/src/constants.js b/src/constants.js index 83b8bf0dc5..131d89aa5b 100644 --- a/src/constants.js +++ b/src/constants.js @@ -43,11 +43,6 @@ export const COLORS = { tested: '#4b1eaa', }; -export const KEYS = { - State: 'stateCode', - District: 'districtName', -}; - export const TIMESERIES_CHART_TYPES = { total: 'Cumulative', delta: 'Daily', @@ -282,47 +277,3 @@ Object.keys(STATE_NAMES).map((key, index) => { }); export const STATE_CODES = stateCodesMap; export const STATE_CODES_ARRAY = stateCodes; - -export const RAW_DATA_PARTITIONS = { - v1: { - start: new Date(2020, 0, 1), - end: new Date(2020, 3, 19), - }, - v2: { - start: new Date(2020, 3, 20), - end: new Date(2020, 3, 26), - }, - v3: { - start: new Date(2020, 3, 27), - end: new Date(2020, 4, 9), - }, - v4: { - start: new Date(2020, 4, 10), - end: new Date(2020, 4, 23), - }, - v5: { - start: new Date(2020, 4, 24), - end: new Date(2020, 5, 4), - }, - v6: { - start: new Date(2020, 5, 5), - end: new Date(), - }, -}; - -export const INITIAL_DATA = { - TT: { - total: { - confirmed: 0, - recovered: 0, - deceased: 0, - }, - delta: { - confirmed: 0, - recovered: 0, - deceased: 0, - }, - last_updated: null, - notes: '', - }, -};