Przeglądaj źródła

link-meshing bug fixed again.

miskson 3 lat temu
rodzic
commit
44ee8e6885
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/components/Sidebar/index.js

+ 2 - 1
src/components/Sidebar/index.js

@@ -119,7 +119,8 @@ const Playlists = ({ playlists }) => {
           return (
             <Link
               style={{ display: 'block', backgroundColor:'darkcyan', color: 'cyan', margin: '5px', padding: '5px' }}
-              to={`${history.location.pathname}/playlist/:${item._id}`}
+              to={`/player/playlist/:${item._id}`}
+              // to={`${history.location.pathname}/playlist/:${item._id}`}
             >{item.name}</Link>
           )
         }).reverse() : ''