MANWHOGAMESOriginal post
Web Developer
hi, cant seem to get the Usercontext working, i get this error message "Uncaught TypeError: Cannot read properties of null (reading 'useContext')
at useContext (chunk-4HAMFFQC.js?v=c174717e:1062:29)
at useUser (user.tsx:8:10)
at StackedLayout.tsx:29:14". Here is my code for user.tsx
Summary
Developer is having trouble with Usercontext and is getting an error message "Uncaught TypeError: Cannot read properties of null (reading 'useContext')". The code for user.tsx is causing the issue.