mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
13 lines
385 B
TypeScript
13 lines
385 B
TypeScript
|
import { FC } from 'react';
|
||
|
import { GrafanaRouteComponentProps } from '../../core/navigation/types';
|
||
|
import { playlistSrv } from './PlaylistSrv';
|
||
|
|
||
|
interface Props extends GrafanaRouteComponentProps<{ id: string }> {}
|
||
|
|
||
|
export const PlaylistStartPage: FC<Props> = ({ match }) => {
|
||
|
playlistSrv.start(parseInt(match.params.id, 10));
|
||
|
return null;
|
||
|
};
|
||
|
|
||
|
export default PlaylistStartPage;
|