cannot use withAuthUserTokenSSR in context/AppContext.jsx #644
Replies: 1 comment
-
I asked chatGPT and I found that I cannot use SSR in non page file . I almost forget . xDhere is ssr in index.jsx and pass data to context file as props . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can call it in index.jsx but not in context file . It says
Error: "withAuthUserTokenSSR" can only be called server-side.
Beta Was this translation helpful? Give feedback.
All reactions