Skip to content

Commit

Permalink
preback expecte error comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-Mamoun98 committed Dec 3, 2024
1 parent 05835ba commit 933c99e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/idos-data-dashboard/src/core/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ const metadata = {
export const chains = [mainnet, sepolia] as const;

export const wagmiConfig = defaultWagmiConfig({
// @ts-expect-error - wagmi types are outdated
chains,
projectId,
metadata,
transports: {
// @ts-expect-error - wagmi types are outdated
[mainnet.id]: http(),
// @ts-expect-error - wagmi types are outdated
[sepolia.id]: http(),
},
});
Expand Down
1 change: 1 addition & 0 deletions apps/idos-data-dashboard/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>
<ChakraBaseProvider theme={theme}>
<WalletSelectorContextProvider>
{/* @ts-ignore: TODO: fix wagmi types */}
<WagmiProvider config={wagmiConfig}>
<QueryClientProvider client={queryClient}>
<IDOSProvider>
Expand Down

0 comments on commit 933c99e

Please sign in to comment.