Skip to content

Commit

Permalink
Merge pull request #776 from Conflux-Chain/s38
Browse files Browse the repository at this point in the history
feat: update chart type in rate chart of PoS
  • Loading branch information
0x74616e67 authored Jun 7, 2022
2 parents 753a93d + d1d3954 commit 9123196
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/containers/Charts/pos/DailyAPY.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function DailyAPY({ preview = false }: ChildProps) {
},
series: [
{
type: 'line',
type: 'area',
name: `<span>${t(translations.highcharts.pos.apy.seriesName)}</span>`,
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/app/containers/Charts/pos/DailyParticipation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function DailyParticipation({ preview = false }: ChildProps) {
},
series: [
{
type: 'line',
type: 'area',
name: `<span>${t(
translations.highcharts.pos.participation.seriesName,
)}</span>`,
Expand Down
8 changes: 4 additions & 4 deletions src/app/containers/Charts/pos/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@ export function Chart() {
<FinalizedInterval preview={true} />
</Col>
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<DailyAccounts preview={true} />
<DailyAPY preview={true} />
</Col>
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<DailyStaking preview={true} />
</Col>
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<DailyAPY preview={true} />
</Col>
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<TotalReward preview={true} />
</Col>
Expand All @@ -65,6 +62,9 @@ export function Chart() {
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<DailyDeposit preview={true} />
</Col>
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<DailyAccounts preview={true} />
</Col>
<Col xxl={12} xl={12} lg={12} md={12} sm={24} xs={24}>
<DailyParticipation preview={true} />
</Col>
Expand Down

0 comments on commit 9123196

Please sign in to comment.