export default class ListController {
  constructor() {
    this.candidates = [{name: "Jane", id: 1}, {name: "John", id: 2}];
  }
}

class ListController {
  constructor() {
    this.candidates = [{name: "Jane", id: 1}, {name: "John", id: 2}];
  }
}

export default ListController

Move export to the bottom