Skip to content

Commit

Permalink
Refactor stake-ring component to display current chain's native curre…
Browse files Browse the repository at this point in the history
…ncy symbol
  • Loading branch information
snoopy1412 committed Sep 29, 2024
1 parent 5a7c5aa commit d383fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/stake/_components/new/stake-ring.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const StakeRing = ({ selectedCollator, onSuccess }: StakeRingProps) => {
const [amount, setAmount] = useState<string>('0');
const { checkWaitingIndexing, isLoading: isLoadingWaitingIndexing } = useCheckWaitingIndexing();
const { watchAsset, isPending: isPendingWatchAsset } = useWatchAsset();
const { ringDAOGovernance, gringTokenInfo } = useWalletStatus();
const { ringDAOGovernance, gringTokenInfo, currentChain } = useWalletStatus();
const {
formatted,
isLoading: isLoadingBalance,
Expand Down Expand Up @@ -110,7 +110,7 @@ const StakeRing = ({ selectedCollator, onSuccess }: StakeRingProps) => {
<Divider />
<div className="m-0 text-[0.75rem] font-normal text-foreground/50">
Please note that staking has a lock-up period, and you can only unstake after 24 hours.
Stake RING to automatically receive{' '}
Stake {currentChain?.nativeCurrency?.symbol} to automatically receive{' '}
<div
className={`relative inline-flex items-center gap-1 text-[0.75rem] text-[#0094FF] transition-opacity hover:opacity-80 ${
isPendingWatchAsset
Expand Down

0 comments on commit d383fb9

Please sign in to comment.