react fetch data from api on button click