PlaylistStartPage.tsx 375 B

1234567891011121314
  1. import { FC } from 'react';
  2. import { GrafanaRouteComponentProps } from '../../core/navigation/types';
  3. import { playlistSrv } from './PlaylistSrv';
  4. interface Props extends GrafanaRouteComponentProps<{ uid: string }> {}
  5. export const PlaylistStartPage: FC<Props> = ({ match }) => {
  6. playlistSrv.start(match.params.uid);
  7. return null;
  8. };
  9. export default PlaylistStartPage;