Skip to content

Commit

Permalink
fix: named import of lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
mguleryuz committed Oct 15, 2024
1 parent 8d86e81 commit cd94f53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Inverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import getDeploy from './getDeploy'
import getDeployOptions from './getDeployOptions'
import deploy from './deploy'
import { getModule, graphql } from '.'
import { isEqual } from 'lodash'
import lodash from 'lodash'

import type { ModuleName } from '@inverter-network/abis'
import type {
Expand Down Expand Up @@ -56,10 +56,10 @@ export class Inverter<W extends PopWalletClient | undefined = undefined> {
Inverter.instance = new Inverter<W>({ publicClient, walletClient })
}

if (!isEqual(Inverter.instance.publicClient, publicClient))
if (!lodash.isEqual(Inverter.instance.publicClient, publicClient))
Inverter.instance.updatePublicClient(publicClient)

if (!isEqual(Inverter.instance.walletClient, walletClient))
if (!lodash.isEqual(Inverter.instance.walletClient, walletClient))
Inverter.instance.updateWalletClient(walletClient)

return Inverter.instance as Inverter<W>
Expand Down

0 comments on commit cd94f53

Please sign in to comment.