File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Image from 'next/image';
4
4
import { useContext } from 'react' ;
5
5
import { FaRegChartBar , FaCubes , FaRegCalendar } from 'react-icons/fa' ;
6
6
import { IoDocumentTextOutline } from 'react-icons/io5' ;
7
+ import { LiaRulerVerticalSolid } from 'react-icons/lia' ;
7
8
8
9
import {
9
10
Tooltip ,
@@ -101,8 +102,8 @@ const PeriodHeader = () => {
101
102
</ a >
102
103
103
104
< div className = "inline-flex items-center" >
104
- < span className = "inline-block mr-1.5 " >
105
- < FaRegChartBar />
105
+ < span className = "inline-block mr-1" >
106
+ < LiaRulerVerticalSolid />
106
107
</ span >
107
108
< span className = "font-medium mr-1" > Market Price Range:</ span >
108
109
< NumberDisplay value = { minPrice } />
@@ -130,6 +131,16 @@ const PeriodHeader = () => {
130
131
</ Tooltip >
131
132
</ TooltipProvider >
132
133
</ div >
134
+
135
+ < div className = "inline-flex items-center" >
136
+ < span className = "inline-block mr-1.5" >
137
+ < FaRegChartBar />
138
+ </ span >
139
+ < span className = "font-medium mr-1" > Market Type:</ span >
140
+ < span >
141
+ { market ?. isCumulative ? 'Cumulative Spent' : 'Average Price' }
142
+ </ span >
143
+ </ div >
133
144
</ >
134
145
) ;
135
146
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export interface Market {
17
17
vaultAddress : string ;
18
18
collateralAsset : string ;
19
19
owner : string ;
20
+ isCumulative : boolean ;
20
21
resource : {
21
22
id : number ;
22
23
name : string ;
You can’t perform that action at this time.
0 commit comments