Skip to content

Commit

Permalink
fix: typos in comments (#1822)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolou86 authored Nov 3, 2023
1 parent 943e4f0 commit b353b81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cypress/support/steps/main.steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const repay = (
};

/**
* This full step for withdraw any availble assets
* This full step for withdraw any available assets
* @example
*```
* // Withdraw ETH
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/steps/verification.steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export const changeBorrowTypeBlocked = (
/**
* This full step to verification dashboard health factor
*
* Could be use one value by 'value' - varibale
* Could be use one value by 'value' - variable
*
* Could be use range by valueFrom and valueTo
*
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/useTransactionHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export const useTransactionHandler = ({
};

// populate txns
// fetches standard txs (optional aproval + action), then based off availability and user preference, set tx flow and gas estimation to permit or approve
// fetches standard txs (optional approval + action), then based off availability and user preference, set tx flow and gas estimation to permit or approve
useEffect(() => {
if (!skip) {
setLoadingTxns(true);
Expand All @@ -368,7 +368,7 @@ export const useTransactionHandler = ({
handleGetPermitTxns &&
permitAction;
if (approvalTransactions.length > 0 && preferPermit) {
// For permit flow, jsut use recommendation for gas limit as estimation will always fail without signature and tx must be rebuilt with signature anyways
// For permit flow, just use recommendation for gas limit as estimation will always fail without signature and tx must be rebuilt with signature anyways
setUsePermit(true);
const gas = gasLimitRecommendations[permitAction];
setGasLimit(gas.limit || '');
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTransactionHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const applyTxHistoryFilters = ({
}: HistoryFilters & { txns: TransactionHistoryItemUnion[] }) => {
let filteredTxns: TransactionHistoryItemUnion[];

// Apply seach filter
// Apply search filter
if (searchQuery.length > 0) {
const lowerSearchQuery = searchQuery.toLowerCase();

Expand Down

1 comment on commit b353b81

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.