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: 6 comments 5 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
3 replies
@lovelgeorge99
Comment options

@Rukny
Comment options

@nimishjn
Comment options

Answer selected by Rukny
Comment options

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

@nimishjn
Comment options

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
10 participants