Use ya in case xa is false (#18074)
This closes [#18023](https://github.com/vercel/next.js/issues/18023). I was following the example mentioned in the issue (https://github.com/vercel/next.js/tree/canary/examples/with-firebase-authentication) and for some reason `xa` was always false, failing fetching food. Through `console.log` I saw that `ya` contained a token value and using `ya` worked.
Showing
想要评论请 注册 或 登录