diff --git a/src/libs/ap/state.ts b/src/libs/ap/state.ts
index 28ffab1..d2d820a 100644
--- a/src/libs/ap/state.ts
+++ b/src/libs/ap/state.ts
@@ -33,7 +33,7 @@ export class RewardsTuple {
poolReward: BN;
stakersReward: BN;
- constructor(obj: { poolReward: BN; stakersReward: BN }) {
+ constructor(obj: {poolReward: BN; stakersReward: BN}) {
this.poolReward = obj.poolReward;
this.stakersReward = obj.stakersReward;
}
@@ -129,7 +129,7 @@ export class StakePool {
static async retrieve(connection: Connection, key: PublicKey) {
const accountInfo = await connection.getAccountInfo(key);
if (!accountInfo?.data) {
- throw new Error("Stake pool not found");
+ throw new Error("Creator pool not found");
}
return this.deserialize(accountInfo.data);
}
diff --git a/src/routes/Actions.tsx b/src/routes/Actions.tsx
index ac8ba00..b208919 100644
--- a/src/routes/Actions.tsx
+++ b/src/routes/Actions.tsx
@@ -207,11 +207,11 @@ export const Actions = () => {
{stakedAccount && stakedAccount.stakeAmount.toNumber() > 0 ? (