diff --git a/components/GlobalPlayer.tsx b/components/GlobalPlayer.tsx index 7dbb5d63..f83ebfee 100644 --- a/components/GlobalPlayer.tsx +++ b/components/GlobalPlayer.tsx @@ -3,9 +3,11 @@ import { usePlayer } from '@/providers/audio/PlayerProvider'; import Image from 'next/image'; import Scrubber from '@/components/Scrubber'; import PlayerButtons from './PlayerButtons'; +import { Button } from './ui/button'; +import { Cross1Icon } from '@radix-ui/react-icons'; export default function GlobalPlayer() { - const [player] = usePlayer(); + const [player, dispatch] = usePlayer(); const { metadata } = player; if (!metadata) return <>>; @@ -16,6 +18,13 @@ export default function GlobalPlayer() { className="sticky bottom-0 left-0 mt-auto w-screen space-y-6 overflow-hidden bg-white py-3 shadow-2xl shadow-black" >