diff --git a/.eslintrc.json b/.eslintrc.json index dffe840..b771fb1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": ["next"] + "extends": ["next"], + "rules": { + "@next/next/no-img-element": "off" + } } diff --git a/components/AlbumPage/index.tsx b/components/AlbumPage/index.tsx index 3627bfa..ae523ca 100644 --- a/components/AlbumPage/index.tsx +++ b/components/AlbumPage/index.tsx @@ -32,6 +32,7 @@ const AlbumPage = () => { {topSongsData[2].artist}

{topSongsData[2].artist}

@@ -42,13 +43,14 @@ const AlbumPage = () => { equalizer
- {topSongsData.map((song) => { - return ; + {topSongsData.map((song, index) => { + return ; })}
diff --git a/components/modules/HotSongs/HotSongsCard/index.tsx b/components/modules/HotSongs/HotSongsCard/index.tsx index 633ce3a..cbe9058 100644 --- a/components/modules/HotSongs/HotSongsCard/index.tsx +++ b/components/modules/HotSongs/HotSongsCard/index.tsx @@ -13,8 +13,8 @@ const HotSongsCard: FC = ({ data }) => { className="w-1/2 bg-white px-5 py-5 rounded-xl shadow-xl mobile:w-full mobile:mx-0" title="Hot Songs" > - {data.map((song) => { - return ; + {data.map((song, index) => { + return ; })} );