{"size": 479, "ext": "js", "max_stars_repo_path": "react-ui/src/scenes/Mainfeed/components/sidebar.js", "max_stars_repo_name": "leecaleb/playlist-collab-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "react-ui/src/scenes/Mainfeed/components/sidebar.js", "max_issues_repo_name": "leecaleb/playlist-collab-app", "max_issues_repo_issues_event_min_datetime": "2018-09-09T20:49:27.000Z", "max_issues_repo_issues_event_max_datetime": "2018-10-15T21:21:10.000Z", "max_forks_repo_path": "react-ui/src/scenes/Mainfeed/components/sidebar.js", "max_forks_repo_name": "leecaleb/playlist-collab-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 20.8260869565, "max_line_length": 92, "alphanum_fraction": 0.7077244259}
import React from 'react'
import SideLikedPlaylist from './sidelikedplaylist'
import SideGroupHistory from './sidegrouphistory'

export default class SideBar extends React.Component {
	componentDidMount() {
		this.props.onRef(this)
	}

	likeButton() {
		this.likedplaylist.refresh()
	}

	render() {
		return (
			<div>
				<SideLikedPlaylist user={this.props.user} likeButton={ref => this.likedplaylist = ref}/>
				<SideGroupHistory user={this.props.user} />
			</div>
		)
	}
}
