rename to remove "Library" from methods

This commit is contained in:
austinried
2022-03-22 16:29:36 +09:00
parent e0db4931f1
commit 4e978360ce
11 changed files with 34 additions and 34 deletions

View File

@@ -18,9 +18,9 @@ function starParams(id: string, type: StarrableItem): StarParams {
}
export const useStar = (id: string, type: StarrableItem) => {
const fetchAlbum = useStore(store => store.fetchLibraryAlbum)
const fetchArtist = useStore(store => store.fetchLibraryArtist)
const fetchSong = useStore(store => store.fetchLibrarySong)
const fetchAlbum = useStore(store => store.fetchAlbum)
const fetchArtist = useStore(store => store.fetchArtist)
const fetchSong = useStore(store => store.fetchSong)
const _starred = useStore(
useCallback(