|
@@ -59,18 +59,7 @@ const UserTracksBtn = ({ userId }) => {
|
|
|
setId(userId)
|
|
|
}, [userId])
|
|
|
|
|
|
- return (
|
|
|
- <Link
|
|
|
- to={`/player/tracks/:${_id}`}
|
|
|
- style={{
|
|
|
- display: 'block',
|
|
|
- backgroundColor: 'purple',
|
|
|
- color: 'white',
|
|
|
- margin: '5px',
|
|
|
- padding: '5px'
|
|
|
- }}
|
|
|
- >MY UPLOADS</Link>
|
|
|
- )
|
|
|
+ return (<Link to={`/player/tracks/:${_id}`} className='sidebar__link highlight'>MY UPLOADS</Link>)
|
|
|
}
|
|
|
export const UserTracksBtnConnect = connect(state => ({ userId: state.promise.userData?.payload?._id || '' }))(UserTracksBtn)
|
|
|
|
|
@@ -82,7 +71,7 @@ const PlaylistAdd = ({ addPlaylist }) => {
|
|
|
{
|
|
|
!clicked ?
|
|
|
<button
|
|
|
- style={{ border: '1px solid black', backgroundColor: 'mediumseagreen', width: '95%', padding: '5px', margin: '5px' }}
|
|
|
+ className='sidebar__button'
|
|
|
onClick={() => setClicked(true)}
|
|
|
>NEW PLAYLIST</button>
|
|
|
:
|
|
@@ -117,10 +106,7 @@ const Playlists = ({ playlists }) => {
|
|
|
{
|
|
|
playlists?.payload ? playlists.payload.map(item => {
|
|
|
return (
|
|
|
- <Link
|
|
|
- style={{ display: 'block', backgroundColor:'darkcyan', color: 'cyan', margin: '5px', padding: '5px' }}
|
|
|
- to={`/player/playlist/:${item._id}`}
|
|
|
- >{item.name}</Link>
|
|
|
+ <Link className='sidebar__link' to={`/player/playlist/:${item._id}`}>{item.name}</Link>
|
|
|
)
|
|
|
}).reverse() : ''
|
|
|
}
|