mirror of
https://github.com/fergalmoran/100-tunes.git
synced 2026-01-06 00:34:37 +00:00
Add material player
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
import React, { useEffect, useState } from "react";
|
||||
import Tune from "../models/tune";
|
||||
import TuneTitle from "./TuneTitle";
|
||||
import YouTubePlayer from "./YouTubePlayer";
|
||||
import TunePlayer from "./TunePlayer";
|
||||
|
||||
const MixList = () => {
|
||||
const [tunes, setTunes] = useState<Tune[]>([]);
|
||||
@@ -51,7 +51,7 @@ const MixList = () => {
|
||||
<TuneTitle url={tune.title} />
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<YouTubePlayer
|
||||
<TunePlayer
|
||||
key={tune.id}
|
||||
index={tune.id}
|
||||
videoId={tune.videoId}
|
||||
|
||||
Reference in New Issue
Block a user