Skip to content

Commit

Permalink
Merge pull request #2121 from cardano-foundation/feature/MET-1698-ret…
Browse files Browse the repository at this point in the history
…ired-type

feat: MET-1698 retired type
  • Loading branch information
sato-thuyetnguyen authored Oct 10, 2023
2 parents 85ff6aa + 54581a9 commit 4742a73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ const TabularOverview: React.FC = () => {
const ownerAccountValue = getShortWallet(stakeKeys?.[0]);
const STATUS = {
ACTIVE: [t("common.active"), theme.palette.secondary.main],
INACTIVE: [t("common.incactive"), "rgb(255,0,0)"],
RETIRING: [t("common.retiring"), theme.palette.error[700]]
RETIRED: [t("common.retired"), theme.palette.error[700]]
};

return (
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
"slc.nextViewInTabular": "Next: View in Tabular",
"slc.switchTimelineView": "Switch to timeline view",
"common.status": "Status",
"common.retiring": "Retiring",
"common.retired": "Retired",
"common.incactive": "Inactive",
"common.active": "Active",
"slc.rewardsAvailable": "Rewards Available",
Expand Down
2 changes: 1 addition & 1 deletion src/types/SPOLifecycle.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ interface PoolInfo {
poolView: string;
poolSize: number;
rewardAvailable: number;
status: "ACTIVE" | "INACTIVE" | "RETIRING";
status: "ACTIVE" | "RETIRED";
epochNo: number;
stakeKeys: string[];
rewardAccounts: string;
Expand Down

0 comments on commit 4742a73

Please sign in to comment.