Skip to content

Commit

Permalink
feat(bex): add a tooltip explaining how swap fees are distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMcInnis committed Dec 18, 2024
1 parent aa50adc commit b5f970b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/hub/src/app/pools/components/parameters-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,16 @@ const ParametersInput: React.FC<OwnershipInputProps> = ({
</div>
</>
)}
<h3 className="self-start text-xl font-semibold">Set Swap Fee</h3>
<div className="flex items-center gap-1">
<h3 className="self-start text-xl font-semibold">Set Swap Fee</h3>
<div className="pt-[-1]">
<BeraTooltip
size="lg"
wrap
text="Half of the swap fee goes to the liquidity providers, the other half goes to the protocol."
/>
</div>
</div>
<SwapFeeInput
initialFee={swapFee}
onFeeChange={onSwapFeeChange}
Expand Down

0 comments on commit b5f970b

Please sign in to comment.