Skip to content

Commit

Permalink
fix: change v1 delegation active status text to pending registration (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab authored Jan 8, 2025
1 parent bc3088b commit 6bbdeb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Modals/Phase2Here.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const Phase2HereModal = ({
gradually expand to allow the registration of all existing stakers and
the creation of new ones.{" "}
<a href="https://babylonlabs.io/blog/babylon-phase-2-testnet-launch">
Learn more here
Learn more here.
</a>
</p>
{shouldDisplayTestingMsg() && (
Expand Down
6 changes: 3 additions & 3 deletions src/utils/getState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { networkFullName: bbnNetworkFullName } = getNetworkConfigBBN();
export const getState = (state: string) => {
switch (state) {
case DelegationState.ACTIVE:
return "Active";
return "Pending Registration";
case DelegationState.UNBONDING_REQUESTED:
return "Unbonding Requested";
case DelegationState.UNBONDING:
Expand Down Expand Up @@ -39,8 +39,8 @@ export const getState = (state: string) => {
// Create state tooltips for the additional information
export const getStateTooltip = (state: string) => {
switch (state) {
case DelegationState.ACTIVE: // active state is shwon
return "Stake is active";
case DelegationState.ACTIVE:
return "Stake is pending registration to the Babylon chain";
case DelegationState.UNBONDING_REQUESTED:
return "Stake is requesting unbonding";
case DelegationState.UNBONDED:
Expand Down

0 comments on commit 6bbdeb7

Please sign in to comment.