Skip to content

Commit 7745db5

Browse files
fix: import useQueryClient from @tanstack/react-query, not wagmi
1 parent 056efbc commit 7745db5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/simulation-sdk-wagmi/src/hooks/useSimulationState.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,10 @@ import {
3131
} from "@morpho-org/blue-sdk-wagmi";
3232
import { values } from "@morpho-org/morpho-ts";
3333
import { type MinimalBlock, SimulationState } from "@morpho-org/simulation-sdk";
34+
import { useQueryClient } from "@tanstack/react-query";
3435
import { useEffect, useMemo, useRef } from "react";
3536
import type { Address, ReadContractErrorType, UnionOmit } from "viem";
36-
import {
37-
type Config,
38-
type ResolvedRegister,
39-
useQueryClient,
40-
useReadContract,
41-
} from "wagmi";
37+
import { type Config, type ResolvedRegister, useReadContract } from "wagmi";
4238

4339
export type FetchSimulationStateParameters = FetchMarketsParameters &
4440
FetchUsersParameters &

0 commit comments

Comments
 (0)