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 d805c19 commit e0008bcCopy full SHA for e0008bc
apps/hyperdrive-trading/src/ui/hyperdrive/shorts/OpenShortPreview/OpenShortPreview.tsx
@@ -124,6 +124,8 @@ export function OpenShortPreview({
124
"daisy-tooltip daisy-tooltip-top daisy-tooltip-left cursor-help before:border",
125
{
126
"border-b border-dashed border-current": spotRateAfterOpen,
127
+ "text-success": shortApr && shortApr.apr > 0n,
128
+ "text-error": shortApr && shortApr.apr < 0n,
129
},
130
)}
131
data-tip="The annualized return on shorts assuming the current yield source rate stays the same for one year"
0 commit comments