11 lines
284 B
TypeScript
11 lines
284 B
TypeScript
import { useParams } from 'react-router-dom-v5-compat';
|
|
|
|
import { playlistSrv } from './PlaylistSrv';
|
|
|
|
// This is a react page that just redirects to new URLs
|
|
export default function PlaylistStartPage() {
|
|
const { uid = '' } = useParams();
|
|
playlistSrv.start(uid);
|
|
return null;
|
|
}
|