src/sidebar/Layers.js
// helper function that collect read data and sets new state.
helper function that collect read data and sets new state.
helper function that collect read data and sets new state .
function createLayer(newest_file_name, newest_file_key, new_geojson){
  this.setState({
    layer_list: [...this.state.layer_list, [newest_file_name, newest_file_key, new_geojson]]
  })
}
function createLayer ( newest_file_name , newest_file_key , new_geojson ) { this . setState ( { layer_list : [ ... this . state . layer_list , [ newest_file_name , newest_file_key , new_geojson ] ] } ) }
helper function that collect read data and sets new state.
helper function that collect read data and sets new state .