Skip to content
Back

Usercontext

  • 0
  • Self Hosted
MANWHOGAMES
18 Dec, 2024, 21:00

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

TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more