Skip to content

Commit

Permalink
chore: fix some comments (#7706)
Browse files Browse the repository at this point in the history
Signed-off-by: zhedazijingang <[email protected]>
Co-authored-by: Apotheosis <[email protected]>
  • Loading branch information
zhedazijingang and 0xApotheosis authored Sep 9, 2024
1 parent 91dce8f commit 28aea4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion react-app-rewired/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const reactAppRewireConfig = {
include: /src/,
// raise error on circular imports
failOnError: true,
// allow import cycles that include an asyncronous import,
// allow import cycles that include an asynchronous import,
// e.g. via import(/* webpackMode: "weak" */ './file.js')
allowAsyncCycles: false,
// set the current working directory for displaying module paths
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const getCoinbaseSupportedAssets = (): SupportedAssetReturn => {
}

export const createCoinbaseUrl = ({ assetId }: CreateUrlProps): string => {
// this is a very specific use case and doesn't need an adpater
// this is a very specific use case and doesn't need an adapter
const tickers = { [foxAssetId]: 'fox-token' }
const ticker = tickers[assetId]
return `https://www.coinbase.com/price/${ticker}`
Expand Down
2 changes: 1 addition & 1 deletion src/lib/address/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const parseMaybeUrl = async ({
}
}

// Validation was unsuccesful, but this may still be a valid address for this adapter
// Validation was unsuccessful, but this may still be a valid address for this adapter
const isValidAddress = await validateAddress({ chainId, maybeAddress: urlOrAddress })
if (isValidAddress) {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/thorchain/lp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const getSlippage = ({
}
}

// symmetrical lp positions incur no slippage as there is no rebalancing swap occuring
// symmetrical lp positions incur no slippage as there is no rebalancing swap occurring
return {
decimalPercent: '0',
runeAmountCryptoPrecision: '0',
Expand Down

0 comments on commit 28aea4f

Please sign in to comment.