diff --git a/src/components/ArtWork/component.js b/src/components/ArtWork/component.js
index af73ef1..bd7146f 100644
--- a/src/components/ArtWork/component.js
+++ b/src/components/ArtWork/component.js
@@ -3,14 +3,21 @@ import PropTypes from 'prop-types';
import './ArtWork.css';
const ArtWork = (albumArtwork) => (
-
-

+
+
);
-
ArtWork.propTypes = {
- albumArtwork: PropTypes.string
+ albumArtwork: PropTypes.string,
};
export default ArtWork;
diff --git a/src/components/UserDetails/component.js b/src/components/UserDetails/component.js
index 073444b..59ab360 100644
--- a/src/components/UserDetails/component.js
+++ b/src/components/UserDetails/component.js
@@ -1,18 +1,21 @@
-import React from "react";
-import PropTypes from "prop-types";
-import "./UserDetails.css";
+import React from 'react';
+import PropTypes from 'prop-types';
+import './UserDetails.css';
const UserDetails = ({ userImage, displayName }) => (
-

+
{displayName}
);
-
UserDetails.propTypes = {
userImage: PropTypes.string,
- displayName: PropTypes.string
+ displayName: PropTypes.string,
};
export default UserDetails;
diff --git a/src/components/UserPlaylists/component.js b/src/components/UserPlaylists/component.js
index e18087c..b2c886d 100644
--- a/src/components/UserPlaylists/component.js
+++ b/src/components/UserPlaylists/component.js
@@ -1,16 +1,16 @@
-import React, { Component } from "react";
-import PropTypes from "prop-types";
-import "./UserPlaylists.css";
+import React, { Component } from 'react';
+import PropTypes from 'prop-types';
+import './UserPlaylists.css';
class UserPlaylists extends Component {
componentWillReceiveProps(nextProps) {
- if (nextProps.userId !== "" && nextProps.token !== "") {
+ if (nextProps.userId !== '' && nextProps.token !== '') {
this.props.fetchPlaylistsMenu(nextProps.userId, nextProps.token);
}
}
renderPlaylists() {
- return this.props.playlistMenu.map(playlist => {
+ return this.props.playlistMenu.map((playlist) => {
const getPlaylistSongs = () => {
this.props.fetchPlaylistSongs(
playlist.owner.id,
@@ -25,8 +25,8 @@ class UserPlaylists extends Component {
onClick={getPlaylistSongs}
className={
this.props.title === playlist.name
- ? "active side-menu-item"
- : "side-menu-item"
+ ? 'active side-menu-item'
+ : 'side-menu-item'
}
key={playlist.id}
>
@@ -53,7 +53,7 @@ UserPlaylists.propTypes = {
playlistMenu: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
fetchPlaylistsMenu: PropTypes.func,
fetchPlaylistSongs: PropTypes.func,
- updateHeaderTitle: PropTypes.func
+ updateHeaderTitle: PropTypes.func,
};
export default UserPlaylists;