Skip to content

(NextJS) Error: Please call "createAppKit" before using "useAppKit" hook #5435

Discussion options

You must be logged in to vote

The issue is where you are importing createAppKit from, you need to use

import { createAppKit } from '@reown/appkit/react';

NOT

import { createAppKit } from '@reown/appkit';

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lovelgeorge99
Comment options

@Rukny
Comment options

Answer selected by Rukny
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants