Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Problems with wallet integration for my website #25

@gitvibecheck

Description

@gitvibecheck

Hey,

I'm trying to integrate the wallet integration from you guys. Right now I'm having a bit of trouble with an error:

App.tsx
grafik

Type 'typeof import("src/declarations/icopenaiint_backend/index")' is not assignable to type '{ canisterId: string; idlFactory: InterfaceFactory; }'.

How can I solve this?

I'm also quite inexperienced when it comes to React. This is how i implemented it:

main.tsx
grafik

App.tsx

grafik

index.html
grafik

Is this correct?

Thank you so much for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions