Skip to content

Commit

Permalink
Remove est hourly rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
HnryHan committed Nov 25, 2024
1 parent c610144 commit 1a4d512
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions apps/rewards-dashboard/src/layouts/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { WalletManager } from "../quarks/WalletManager";
import { FaArrowRight } from "react-icons/fa6";
import { useEffect, useState } from "react";
import {
EstimatedApyGraphic,
EstimatedRewardsGraphic,
RewardHistoryGraphic,
TotalBridgedGraphic,
Expand Down Expand Up @@ -46,9 +45,6 @@ const ConnectedDashboard = () => {
const [totalBridged, setTotalBridged] = useState<number | undefined>(
undefined
);
const [hourlyRewards, setHourlyRewards] = useState<number | undefined>(
undefined
);
const [historyRewardsEarned, setHistoryRewardsEarned] = useState<
number | undefined
>(undefined);
Expand Down Expand Up @@ -99,7 +95,6 @@ const ConnectedDashboard = () => {
}
setTotalBridged(overview.bridged_usds_total);
setHistoryRewardsEarned(overview.accrued_rewards_total);
setHourlyRewards(overview.hourly_rewards_per_unit);
}, [overview]);

const maybeHide = (x?: number) => {
Expand Down Expand Up @@ -254,12 +249,6 @@ const ConnectedDashboard = () => {
graphic={<RewardHistoryGraphic />}
infoElement={<Trans>History of Rewards Earned Tooltip</Trans>}
/>
<StatWindow
header={t`Est Hourly Rewards per USDS`}
value={formatInteger(hourlyRewards, 6)}
unit="USDS"
graphic={<EstimatedApyGraphic />}
/>
</div>
</div>
</div>
Expand Down

0 comments on commit 1a4d512

Please sign in to comment.