init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export const findPlaylistVideoByUrl = (
|
||||
playlist: PlaylistVideo[],
|
||||
url?: string,
|
||||
) => {
|
||||
if (!url) return;
|
||||
return playlist.find((video) => video.url === url);
|
||||
};
|
||||
Reference in New Issue
Block a user