원래 store에 있는 fetch 함수 컴포넌트에서 useeffect로 한번 호출하고 usestate에 담아서 사용했는데 

usequery로 한번만 부르니깐 코드가 줄어든 것 같기도 해요