Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in comments #1822

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading