Loading before asset - ensures force reload 'feels' right

This commit is contained in:
James Barnsley
2021-02-08 20:57:13 +13:00
parent 9510b1db66
commit bc38b1ba6b
6 changed files with 51 additions and 51 deletions

View File

@ -486,10 +486,10 @@ class Artist extends React.Component {
history,
} = this.props;
if (loading) {
return <Loader body loading />;
}
if (!artist) {
if (loading) {
return <Loader body loading />;
}
return (
<ErrorMessage type="not-found" title="Not found">
<p>