Introduces Home component redesign

This commit is contained in:
mashazyu
2020-03-24 20:15:01 +01:00
committed by Sofiya Tepikin
parent b6c0fd0dce
commit 29d76d19b1
11 changed files with 150 additions and 180 deletions
+7
View File
@@ -62,3 +62,10 @@ export function getBleedingPredictionRange(prediction) {
}
return (daysToEnd === 0 ? '0' : `0 - ${daysToEnd}`)
}
export const dateEnding = {
'1': 'st',
'2': 'nd',
'3': 'rd',
'default': 'th'
}