score:0

it seems like you are appending data to your array instead of replacing it with new values. you should initialize a new array if you don't want to retain previous results.

const info = {country : country};//country array
 const data = [];

 data.push(info);

 this.setstate({
   data:data
  });

Related Query

More Query from same tag