Skip to content

Commit

Permalink
improvement: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRFelix committed Nov 26, 2024
1 parent c4d257c commit e1e4008
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/web/hooks/limit-orders/use-place-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,15 @@ export const usePlaceLimit = ({
use1CTSwapReviewMessages();

/**
* Default isLedger to True, just in case the wallet does
* Default isLedger to true, just in case the wallet does
* not return the correct value
*/
const { value: isLedger } = useAsync(async () => {
const result = await account?.client?.getAccount?.(
accountStore.osmosisChainId
);
return result?.isNanoLedger ?? true;
// Disable deps to include account address in order to recompute the value as the other are memoized mobx values
// Disable deps to include account address in order to recompute the value as the others are memoized mobx values
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [account, account?.address, accountStore.osmosisChainId]);

Expand Down
4 changes: 2 additions & 2 deletions packages/web/hooks/use-swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,15 @@ export function useSwap(
use1CTSwapReviewMessages();

/**
* Default isLedger to True, just in case the wallet does
* Default isLedger to true, just in case the wallet does
* not return the correct value
*/
const { value: isLedger } = useAsync(async () => {
const result = await account?.client?.getAccount?.(
accountStore.osmosisChainId
);
return result?.isNanoLedger ?? true;
// Disable deps to include account address in order to recompute the value as the other are memoized mobx values
// Disable deps to include account address in order to recompute the value as the others are memoized mobx values
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [account, account?.address, accountStore.osmosisChainId]);

Expand Down

0 comments on commit e1e4008

Please sign in to comment.