<commit_before>import React, {Component} from 'react';

class MapDirection extends Component {
  componentDidMount() {
    this.directionsService = new google.maps.DirectionsService;
    this.directionsDisplay = new google.maps.DirectionsRenderer;
    this.directionsDisplay.setPanel(this.refs.directions);
    console.log('valueeeeeee', this.props.option);

  }

  shouldComponentUpdate(nextProps, nextState) {
    return nextProps.userlocation !== '';<commit_msg>Cleaned up mapDirection.js and tried to add share button in eventItem.js<commit_after>import React, {Component} from 'react';

class MapDirection extends Component {
  componentDidMount() {
    this.directionsService = new google.maps.DirectionsService;
    this.directionsDisplay = new google.maps.DirectionsRenderer;
    this.directionsDisplay.setPanel(this.refs.directions);
  }

  shouldComponentUpdate(nextProps, nextState) {
    return nextProps.userlocation !== '';
{'fraction_non_alphanumeric': 0.10138740661686232, 'fraction_numerical': 0.0, 'mean_word_length': 5.295302013422819, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1758345', 'n_tokens_mistral': 266, 'n_tokens_neox': 255, 'n_words': 54}