forked from ethereum-attestation-service/eas-is-true
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add minimal test page for provider debugging
- Loading branch information
1 parent
32e0698
commit 6483c25
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use client"; | ||
|
||
import { WagmiProvider } from "wagmi"; | ||
import { wagmiConfig } from "../../services/web3/wagmiConfig"; | ||
|
||
export default function TestPage() { | ||
console.log('Rendering test page...'); | ||
console.log('WagmiConfig:', { | ||
hasChains: !!wagmiConfig.chains, | ||
chainIds: wagmiConfig.chains.map(c => c.id) | ||
}); | ||
|
||
return ( | ||
<WagmiProvider config={wagmiConfig}> | ||
<div className="p-4"> | ||
<h1 className="text-2xl font-bold mb-4">Provider Test Page</h1> | ||
<p>Testing minimal provider setup...</p> | ||
</div> | ||
</WagmiProvider> | ||
); | ||
} |