{"size": 763, "ext": "js", "max_stars_repo_path": "src/components/detail_view.js", "max_stars_repo_name": "IanDeDobbelaere/cmp_ticketpoints", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/detail_view.js", "max_issues_repo_name": "IanDeDobbelaere/cmp_ticketpoints", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/detail_view.js", "max_forks_repo_name": "IanDeDobbelaere/cmp_ticketpoints", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.1212121212, "max_line_length": 73, "alphanum_fraction": 0.6539973788}
import React, { Component } from 'react';
import queryString from 'query-string';
import { connect } from 'react-redux';
import { Link } from 'react-router-dom';
import { fetchSellPoints } from '../actions';
import axios from 'axios';
import GoogleMaps from '../containers/google_maps';




class DetailView extends Component {

  render(){
    const { search } = this.props.location;
    const parsed = queryString.parse(search);

    return(
      <div>
        <h4>Adres: { parsed.adres } </h4>
        <h4>Adres: { parsed.minadres } </h4>
        <h4>Naam: { parsed.naam } </h4>
      </div>
    );
  }
}

function mapStateToProps(state){
  return { Sellpoints: state.Sellpoints };
}

export default connect(mapStateToProps, { fetchSellPoints })(DetailView);
