Loaders in Track view; Revisiting URI encoding again...

This commit is contained in:
James Barnsley
2021-01-18 21:06:59 +13:00
parent 499a4800b0
commit 50f106c710
12 changed files with 559 additions and 330 deletions

View File

@ -51,13 +51,13 @@ class DiscoverCategory extends React.Component {
const {
uri,
category,
coreActions: {
loadCategory,
spotifyActions: {
getCategory,
},
} = this.props;
if (!category) {
loadCategory(uri);
getCategory(uri);
}
}
@ -67,13 +67,13 @@ class DiscoverCategory extends React.Component {
uiActions: {
hideContextMenu,
},
coreActions: {
loadCategory,
spotifyActions: {
getCategory,
},
} = this.props;
hideContextMenu();
loadCategory(uri, { forceRefetch: true });
getCategory(uri, { forceRefetch: true });
}
render = () => {