Skip to content

Commit

Permalink
fix(deps): update deps for hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Inukares committed Sep 5, 2024
1 parent 9020e4f commit 6d98350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/connectedWalletStarknetkitNext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
ChainId,
NetworkChangeEventHandler,
} from "@starknet-io/types-js"
import { useAtom, useAtomValue, useSetAtom } from "jotai"
import { useAtomValue, useSetAtom } from "jotai"
import { atomWithReset } from "jotai/utils"
import { useEffect } from "react"
import { ConnectorData, StarknetWindowObject } from "starknetkit-next"
Expand Down Expand Up @@ -53,5 +53,5 @@ export const useWalletAccountChange = () => {
wallet?.off("accountsChanged", accountChangeHandler)
wallet?.off("networkChanged", networkChangeHandler)
return
}, [])
}, [accountChangeHandler, networkChangeHandler])
}

0 comments on commit 6d98350

Please sign in to comment.