mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
fixed perf issue related to too many rerenders
rerenders were caused by strict equality check on object/array picks switched artistInfo to new store updated zustand and fixed deprecation warnings
This commit is contained in:
@@ -166,10 +166,6 @@ export type LibrarySlice = {
|
||||
albums: ById<Album>
|
||||
albumSongs: OneToMany
|
||||
|
||||
// todo: remove these and store in component state
|
||||
albumsList: PaginatedList
|
||||
albumsListSize: number
|
||||
|
||||
playlists: ById<Playlist>
|
||||
playlistSongs: OneToMany
|
||||
|
||||
@@ -216,8 +212,6 @@ const defaultEntities = () => ({
|
||||
artistNameTopSongs: {},
|
||||
|
||||
albums: {},
|
||||
albumsList: {},
|
||||
albumsListSize: 300,
|
||||
albumSongs: {},
|
||||
|
||||
playlists: {},
|
||||
|
||||
Reference in New Issue
Block a user