TypeError: Cannot destructure property of ‘(intermediate value)’ as it is undefined
If you got this error: UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property ‘your-destructured-variable-name’ of ‘(intermediate value)’ as it is undefined:…