fix: update Token table headers to match latest Figma (#4505)

TokenTable: update table headers to match latest Figma

Co-authored-by: gbugyis <greg@bugyis.com>
This commit is contained in:
Greg Bugyis 2022-08-26 15:21:35 +03:00 committed by GitHub
parent 751ce8e6d6
commit d0d5240474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -314,7 +314,7 @@ const LogoContainer = styled.div`
/* formatting for volume with timeframe header display */
function getHeaderDisplay(category: string, timeframe: TimePeriod): string {
if (category === Category.volume) return `${DISPLAYS[timeframe]} ${category}`
if (category === Category.volume || category === Category.percentChange) return `${DISPLAYS[timeframe]} ${category}`
return category
}

@ -1,5 +1,5 @@
export enum Category {
percentChange = '% Change',
percentChange = 'Change',
marketCap = 'Market Cap',
price = 'Price',
volume = 'Volume',