Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
Refactor: Remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
shuklaayush committed Jul 6, 2020
1 parent e13595c commit 820a523
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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: '',
},
};

0 comments on commit 820a523

Please sign in to comment.