Skip to content

Type Error with WalletConnect Project ID #4659

Closed as not planned
Closed as not planned
@codersjj

Description

@codersjj

Check existing issues

Describe the bug

When I created a Next.js Wagmi project using create-wagmi, there was a TypeScript error in the src/wagmi.ts file:

Image

Link to Minimal Reproducible Example

see: TypeScript Playground

Steps To Reproduce

No response

What Wagmi package(s) are you using?

wagmi, create-wagmi

Wagmi Package(s) Version(s)

2.15.2

Viem Version

2.29.2

TypeScript Version

No response

Anything else?

We might need to update this line to:

walletConnect({ projectId: process.env.NEXT_PUBLIC_WC_PROJECT_ID || '' }),

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions