问题
Whats wrong with this piece of code ?
import React from "react";
export default function Azubis() {
return ( < div > < /div>)
}
回答1:
There should be no spaces between <
and /
in closing </div>
tag.
来源:https://stackoverflow.com/questions/62962589/react-no-closing-end-tag