Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__privateGet(...).defaultMutationOptions is not a function #7114

Open
hoshikira18 opened this issue Apr 21, 2024 · 3 comments
Open

__privateGet(...).defaultMutationOptions is not a function #7114

hoshikira18 opened this issue Apr 21, 2024 · 3 comments

Comments

@hoshikira18
Copy link

image
image
image

This error happen when I using useAdminLogin hook in my Login page. Help me, please!!

@hoshikira18
Copy link
Author

This err occur and it does not render anything in my screen, only white screen

@kasperkristensen
Copy link
Contributor

@hoshikira18 What version of @tanstack/react-query did you install? medusa-react only works with <=4.22, if you are using >5 this error would occur as there are breaking changes that medusa-react is not compatible with.

@hoshikira18
Copy link
Author

image
I'm using react-query 4.22.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants