In JSX, each opening tag must either be self-closing or have a corresponding
closing tag. It is a syntax error for the closing tag to have a different tag
name than the opening tag:
To fix this error, make the ending tag and the opening tag use the same name:
Alternatively, swap the incorrectly-nested closing tags: