•Created by CremeDeLaKremlin on 3/17/2024 in #support
How to destructure properly?
Gotcha. So what would the solution be? Just destructure user and then access its properties with optional chaining? Would it be bad practice to user destructure again on user?
•Created by CremeDeLaKremlin on 3/17/2024 in #support
How to destructure properly?
There is one more error in browser:
Uncaught TypeError: can't convert undefined to object
destructure index.js:39
And this is what I'm passing to destructure:
const data: Resource<UserReposQuery | undefined>