結果 : make api call in react typescript