We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7969c commit 58cdca9Copy full SHA for 58cdca9
apps/hyperdrive-trading/src/ui/portfolio/shorts/OpenShortsTable/OpenShortsTableDesktop.tsx
@@ -1,7 +1,6 @@
1
import {
2
AppConfig,
3
getBaseToken,
4
- getOpenShortRewardConfigs,
5
HyperdriveConfig,
6
} from "@delvtech/hyperdrive-appconfig";
7
import { OpenShort } from "@delvtech/hyperdrive-js";
@@ -63,14 +62,6 @@ export function OpenShortsTableDesktop({
63
62
getSortedRowModel: getSortedRowModel(),
64
getPaginationRowModel: getPaginationRowModel(),
65
});
66
- const poolHasRewards = hyperdrives.some((hyperdrive) => {
67
- const rewardConfigs = getOpenShortRewardConfigs({
68
- appConfig,
69
- chainId: hyperdrive.chainId,
70
- hyperdriveAddress: hyperdrive.address,
71
- });
72
- return !!rewardConfigs?.length;
73
74
75
if (!account) {
76
return (
0 commit comments