Replies: 1 comment 2 replies
-
|
@tech-zjf in order to use Zustand store outside of create you should use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
In a Next.js project, when importing Zustand in the global Axios interceptor, an error will be thrown.

The technical requirement I want to implement is that when the server returns a status indicating that the user is not logged in, I need to trigger the global login pop-up window.
Beta Was this translation helpful? Give feedback.
All reactions