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:
parent
751ce8e6d6
commit
d0d5240474
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user