don't reset parts manually, do it all at once

This commit is contained in:
austinried
2022-03-18 14:20:57 +09:00
parent 98ef0d1d44
commit 47c65ea8cb
7 changed files with 27 additions and 30 deletions

View File

@@ -23,9 +23,7 @@ const selectArtists = (store: Store) => store.entities.artists
const ArtistsList = () => {
const fetchArtists = useStore(store => store.fetchLibraryArtists)
const resetArtists = useStore(store => store.resetLibraryArtists)
const { refreshing, refresh } = useFetchList2(fetchArtists, resetArtists)
const { refreshing, refresh } = useFetchList2(fetchArtists)
const artists = useStore(selectArtists)
const filter = useStore(selectSettings.libraryArtistFilter)