Skip to content

Commit

Permalink
prepare for release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
voronianski committed Oct 1, 2017
1 parent 20250bd commit 64ca513
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ const {
<div className="clearfix mxn2">
{users.map(user => {
return (
<div className="col col-6 sm-col-4 md-col-3 lg-col-2 px2 mb1">
<div key={user.title} className="col col-6 sm-col-4 md-col-3 lg-col-2 px2 mb1">
<a href={user.url} className="block black" target="_blank">
<img className="block" src={user.logo} />
<div className="mt1">{user.title}</div>
Expand All @@ -546,7 +546,7 @@ const {
<div className="col col-6 sm-col-4 md-col-3 lg-col-2 px2 mb1" />
<div className="col col-6 sm-col-4 md-col-3 lg-col-2 px2 mb1">
<a href="https://github.com/soundblogs/react-soundplayer/issues/58" className="block black" target="_blank">
<div className="mt1 bold right-align">+ Add your company here!</div>
<div className="mt1 bold right-align">+ Add your<br />website<br />here!</div>
</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-soundplayer",
"version": "1.0.0-rc4",
"version": "1.0.0",
"description": "Create custom SoundCloud players with React",
"main": "index.js",
"directories": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"object-assign": "^4.1.1",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"soundcloud-audio": "^1.1.1"
"soundcloud-audio": "^1.2.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
Expand Down
2 changes: 1 addition & 1 deletion src/addons/withSoundCloudAudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function withSoundCloudAudio (WrappedComponent) {
super(props, context);

if (!props.clientId && !props.soundCloudAudio) {
throw new Error(
console.warn(
`You need to get a clientId from SoundCloud,
or pass in an instance of SoundCloudAudio.
https://github.com/soundblogs/react-soundplayer#usage`
Expand Down

0 comments on commit 64ca513

Please sign in to comment.