Skip to content

fix: type code for networks #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

rtomas
Copy link
Collaborator

@rtomas rtomas commented Apr 25, 2025

Description

fix code type for networks

Tests

  • - Ran the changes locally with Mintlify and confirmed that the changes appear as expected.
  • - Ran a grammar check on the updated/created content using ChatGPT.

@rtomas rtomas requested review from vrajdesai78 and rohit-710 April 25, 2025 08:04
+ import { createAppKit } from '@reown/appkit';
+ export const networks = [mainnet, arbitrum]
+ export const networks = [mainnet, arbitrum] as [AppKitNetwork, ...AppKitNetwork[]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this?

All my demos work without exporting it with this type format

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you try to build them ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the demos are live and deployed via Vercel. My Vercel build always goes through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants