Skip to content

Commit

Permalink
Solving warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lkameya committed Apr 10, 2019
1 parent 7ed79ae commit 3221a29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/components/PlaylistItem/PlaylistItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const PlaylistItem = ({ id, albumImg, artist, title, currentSong }) => {
};

PlaylistItem.propTypes = {
id: PropTypes.number,
id: PropTypes.string,
albumImg: PropTypes.string,
artist: PropTypes.string,
title: PropTypes.string
Expand Down
4 changes: 2 additions & 2 deletions client/src/history.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import createHistory from 'history/createBrowserHistory';
import {createBrowserHistory} from 'history';

export default createHistory({
export default createBrowserHistory({
basename: process.env.NODE_ENV === 'development' ? '' : ''
});

0 comments on commit 3221a29

Please sign in to comment.