Unreachable code is quite literally code that cannot be reached at any point while executing. This could be cause by an if statement that will never evaluate to true or a function returning or throwing an error early on in a function meaning any code after that will never be executed
I'm not familiar with react but it looks like your issue is the bit after your /> tag shouldn't be there, but I'm not sure
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Unreachable code is quite literally code that cannot be reached at any point while executing. This could be cause by an if statement that will never evaluate to true or a function returning or throwing an error early on in a function meaning any code after that will never be executed
I'm not familiar with react but it looks like your issue is the bit after your /> tag shouldn't be there, but I'm not sure