Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy
Created November 14, 2016 16:38
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/a2b87dfb86e80be1f90103ad553ac74d to your computer and use it in GitHub Desktop.
Save codeaholicguy/a2b87dfb86e80be1f90103ad553ac74d to your computer and use it in GitHub Desktop.
...
import SoundCloud from 'soundcloud';
...
import {CLIENT_ID, REDIRECT_URI} from './config';
SoundCloud.initialize({
client_id: CLIENT_ID,
redirect_uri: REDIRECT_URI
})
...
const store = configureStore();
store.dispatch(actions.setTracks(tracks));
ReactDOM.render(
<Provider store={store}>
<TrackList />
</Provider>,
document.getElementById('app')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment