https://stackoverflow.com/questions/53906843/why-cant-react-hooks-be-called-inside-loops-or-nested-function
useEffect를 루프로 호출할 순 없으니, tsx문법으로 요소를 여러 번 호출한다