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: 4 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants