diff --git a/app/components/NowPlaying.tsx b/app/components/NowPlaying.tsx index 3e42cfe..536089b 100644 --- a/app/components/NowPlaying.tsx +++ b/app/components/NowPlaying.tsx @@ -1,6 +1,7 @@ "use client"; -import React, { useEffect, useState, JSX } from 'react'; +import React, { useEffect, useState } from 'react'; +import Image from 'next/image'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faLastfm } from '@fortawesome/free-brands-svg-icons' import { faCompactDisc, faUser } from '@fortawesome/free-solid-svg-icons' @@ -40,10 +41,12 @@ const NowPlaying: React.FC = () => {
{track.name}
diff --git a/next.config.ts b/next.config.ts index e9ffa30..78aff46 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,9 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + images: { + domains: ['lastfm.freetls.fastly.net'], + }, }; -export default nextConfig; +export default nextConfig; \ No newline at end of file