Skip to content

Commit

Permalink
go
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Oct 3, 2024
1 parent 0da8b05 commit dcb554f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/staking/src/components/OracleIntegrityStaking/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ type PublisherProps = {
numFeeds: number;
qualityRanking: number;
delegationFee: bigint;
apyHistory: { date: Date; apy: number }[];
apyHistory: { date: Date; apy: number, selfApy: number }[];
positions?:
| {
warmup?: bigint | undefined;
Expand Down Expand Up @@ -1266,9 +1266,9 @@ const Publisher = ({
<PublisherTableCell>
<div className="mx-auto h-14 w-28">
<SparkChart
data={publisher.apyHistory.map(({ date, apy }) => ({
data={publisher.apyHistory.map(({ date, apy, selfApy }) => ({
date,
value: apy,
value: isSelf ? selfApy : apy,
}))}
/>
</div>
Expand Down

0 comments on commit dcb554f

Please sign in to comment.