Hi does anyone know why it's showing error even when I did things as said in the guideline
`/**
Get new data from server and update the state with the new data
*/
getDataFromServer() {
let x = 0;
const interval = setInterval(() => {
DataStreamer.getData((serverResponds: ServerRespond[]) => {
this.setState {
data: serverResponds,
showGraph; true,
});
});
x++;
if (x > 1000) {
clearInterval(interval);
}
},100);
}`
There is an opening parenthesis after setState in this line -- this.setState({
It was not visible in the 'making_changes' file because of the red block.
Hi does anyone know why it's showing error even when I did things as said in the guideline
`/**
Screen Shot 2020-08-24 at 11 00 38 AM