Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Fix code style issues with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Feb 16, 2024
1 parent 7e0f6da commit 6918681
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/entities/pair.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {BigNumber} from '@ethersproject/bignumber'
import {ChainId, CurrencyAmount, Price, Token, WETH9} from '@uniswap/sdk-core'
import {FACTORY_ADDRESS} from 'constants';
import {InsufficientInputAmountError} from '../errors'
import {computePairAddress, Pair} from './pair'
import { BigNumber } from '@ethersproject/bignumber'
import { ChainId, CurrencyAmount, Price, Token, WETH9 } from '@uniswap/sdk-core'
import { FACTORY_ADDRESS } from 'constants'
import { InsufficientInputAmountError } from '../errors'
import { computePairAddress, Pair } from './pair'

describe('computePairAddress', () => {
it('should correctly compute the pool address', () => {
Expand Down
10 changes: 5 additions & 5 deletions src/entities/pair.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {getCreate2Address} from '@ethersproject/address'
import {BigNumber} from '@ethersproject/bignumber'
import {keccak256, pack} from '@ethersproject/solidity'
import {BigintIsh, CurrencyAmount, Percent, Price, sqrt, Token} from '@uniswap/sdk-core'
import { getCreate2Address } from '@ethersproject/address'
import { BigNumber } from '@ethersproject/bignumber'
import { keccak256, pack } from '@ethersproject/solidity'
import { BigintIsh, CurrencyAmount, Percent, Price, sqrt, Token } from '@uniswap/sdk-core'
import JSBI from 'jsbi'
import invariant from 'tiny-invariant'

Expand All @@ -19,7 +19,7 @@ import {
ZERO,
ZERO_PERCENT
} from '../constants'
import {InsufficientInputAmountError, InsufficientReservesError} from '../errors'
import { InsufficientInputAmountError, InsufficientReservesError } from '../errors'

export const computePairAddress = ({
factoryAddress,
Expand Down

0 comments on commit 6918681

Please sign in to comment.