Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
DonFungible committed Dec 9, 2023
1 parent 75314ec commit ba78e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Page() {
<ModuleReadAccordion />
<HookReadAccordion />
</section>
<h1 className="text-2xl pt-10 pb-4">Write from SDK</h1>
<h1 className="text-2xl pt-10 pb-4">Write to SDK</h1>
<section className="flex flex-col gap-4">
<IpOrgWriteAccordion />
<IPAssetWriteAccordion />
Expand Down
2 changes: 1 addition & 1 deletion hooks/useStoryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function useStoryClient(): { client: ReadOnlyClient | Client } {

if (typeof window !== 'undefined' && window?.ethereum && walletClient) {
const config: StoryConfig = {
chain: sepolia as Chain,
chain: sepolia as Chain | undefined,
transport: walletClient
? custom(window.ethereum as EthereumProvider)
: http(process.env.NEXT_PUBLIC_RPC_PROVIDER_URL),
Expand Down

0 comments on commit ba78e21

Please sign in to comment.