diff --git a/frontend/src/app/(page)/explore/components/SongList.tsx b/frontend/src/app/(page)/explore/components/SongList.tsx index 11ac8d3..d19fc78 100644 --- a/frontend/src/app/(page)/explore/components/SongList.tsx +++ b/frontend/src/app/(page)/explore/components/SongList.tsx @@ -1,10 +1,10 @@ import React, { useState, useEffect, useCallback } from "react"; import SongItem from "./SongItem"; import Player from "@/components/ui/Player"; -import { fetchSongsList } from "@/utils/fetchSongsList"; +import { fetchSongsList } from "@/app/(page)/explore/services/fetchSongsList"; import { useFilterSongs } from "@/hooks/useFilterSongs"; import { Song } from "@/types/ui/Song"; -import { formatDuration } from "@/utils/formatDuration"; +import { formatDuration } from "@/app/(page)/explore/services/formatDuration"; interface SongListProps { searchTerm?: string; diff --git a/frontend/src/utils/fetchSongsList.ts b/frontend/src/app/(page)/explore/services/fetchSongsList.ts similarity index 100% rename from frontend/src/utils/fetchSongsList.ts rename to frontend/src/app/(page)/explore/services/fetchSongsList.ts diff --git a/frontend/src/utils/fetchSongsSearch.ts b/frontend/src/app/(page)/explore/services/fetchSongsSearch.ts similarity index 100% rename from frontend/src/utils/fetchSongsSearch.ts rename to frontend/src/app/(page)/explore/services/fetchSongsSearch.ts diff --git a/frontend/src/utils/formatDuration.ts b/frontend/src/app/(page)/explore/services/formatDuration.ts similarity index 100% rename from frontend/src/utils/formatDuration.ts rename to frontend/src/app/(page)/explore/services/formatDuration.ts diff --git a/frontend/src/components/ui/Player.tsx b/frontend/src/components/ui/Player.tsx index a849dba..cbc1eb8 100644 --- a/frontend/src/components/ui/Player.tsx +++ b/frontend/src/components/ui/Player.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useRef, useState } from "react"; import Image from "next/image"; -import { formatDuration } from "@/utils/formatDuration"; +import { formatDuration } from "@/app/(page)/explore/services/formatDuration"; import { SkipBack, Rewind,