You need to use a comma.
class App extends Component {
constructor(){
super();
this.state = {
todos:[], // <<<< NOTICE THE COMMA
currentTodo: ""
};
}
13
solved react error. Syntax error: Unexpected token, expected , (11:6) [closed]