Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Created December 25, 2016 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeaholicguy/aae7fc3dc9108a45e30800e90b7abc79 to your computer and use it in GitHub Desktop.
Save codeaholicguy/aae7fc3dc9108a45e30800e90b7abc79 to your computer and use it in GitHub Desktop.
import {connect} from 'react-redux';
import TrackList from './TrackList';
import {auth} from '../../actions';
export default connect(({tracks, auth}) => ({tracks, user: auth.user}), {auth})(TrackList);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment