chore: docs + lint

This commit is contained in:
aryan
2025-01-04 15:29:47 +05:30
parent b3a15fb019
commit 06ad5ba728
29 changed files with 1024 additions and 2677 deletions

View File

@@ -43,7 +43,7 @@ export const ACTIONS = {
GET_TPS_ACTION: getTPSAction,
FETCH_PRICE_ACTION: fetchPriceAction,
STAKE_WITH_JUP_ACTION: stakeWithJupAction,
STAKE_WITH_SOLAYER_ACTION : stakeWithSolayerAction,
STAKE_WITH_SOLAYER_ACTION: stakeWithSolayerAction,
REGISTER_DOMAIN_ACTION: registerDomainAction,
LEND_ASSET_ACTION: lendAssetAction,
CREATE_GIBWORK_TASK_ACTION: createGibworkTaskAction,

View File

@@ -27,7 +27,7 @@ export async function stakeWithSolayer(
if (!response.ok) {
const errorData = await response.json();
throw new Error(errorData.message || 'Staking request failed');
throw new Error(errorData.message || "Staking request failed");
}
const data = await response.json();
@@ -61,4 +61,4 @@ export async function stakeWithSolayer(
console.error(error);
throw new Error(`Solayer sSOL staking failed: ${error.message}`);
}
}
}