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

issue after sign in #38

Open
AdelEddarai opened this issue Apr 17, 2024 · 5 comments
Open

issue after sign in #38

AdelEddarai opened this issue Apr 17, 2024 · 5 comments

Comments

@AdelEddarai
Copy link

i got this issue after sign in :

8687-138f01e96fb0de7f.js:1 TypeError: Cannot read properties of undefined (reading '0')
at layout-550dc7407d479e70.js:1:520
at Object.r5 [as useMemo] (1a9f8c8f-737d53c4ba49a929.js:1:46738)
at t.useMemo (8687-138f01e96fb0de7f.js:1:97830)
at h (layout-550dc7407d479e70.js:1:411)
at rk (1a9f8c8f-737d53c4ba49a929.js:1:40371)
at lI (1a9f8c8f-737d53c4ba49a929.js:1:59178)
at iB (1a9f8c8f-737d53c4ba49a929.js:1:117277)
at o4 (1a9f8c8f-737d53c4ba49a929.js:1:94633)
at 1a9f8c8f-737d53c4ba49a929.js:1:94455
at o3 (1a9f8c8f-737d53c4ba49a929.js:1:94462)

Copy link

linear bot commented Apr 17, 2024

@Necmttn
Copy link
Contributor

Necmttn commented Apr 20, 2024

Hey @AdelEddarai, thank you for reporting the issue.
can you record a screencast?
not sure where the error is happening

@AdelEddarai
Copy link
Author

after i have signed in using google i got this :

Screenshot 2024-04-22 152706

@AdelEddarai
Copy link
Author

the issue was in cache browser ; Clearing the browser cache resolves the problem temporarily.

@Necmttn
Copy link
Contributor

Necmttn commented May 15, 2024

Oh, that makes sense! I will look into it;
https://github.com/craftgen/craftgen/blob/main/apps/web/src/middleware.ts#L12
i tried to solve it in the past but wasn't aware it was still happening.

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

No branches or pull requests

2 participants