Introduces Home component redesign

This commit is contained in:
mashazyu authored and Sofiya Tepikin committed 2020-08-22 13:05:17 +02:00
1 parent b6c0fd0dce
commit 29d76d19b1
11 files changed
+150 -180

No files matched your search

+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'
}