TypeError: Cannot read property 'Symbol(get)' of undefined
olimsaidov opened this issue · 1 comments
olimsaidov commented
The error is thrown when location prop is undefined.
const {name, type} = this.props.location;
Is this behavior intentional?
hleumas commented
Yes, it is. You can not destructure undefined
.