fix(frontend/favorites): fix favorite releases not loading. add a circle progress while loading

This commit is contained in:
Kentai Radiquum 2024-05-15 21:59:05 +05:00
parent bbca9f1bd1
commit 25e8015735
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -51,7 +51,11 @@ export default function History() {
<> <>
{!userStore.isAuth ? ( {!userStore.isAuth ? (
<LogInNeeded /> <LogInNeeded />
) : releases > 0 ? ( ) : !releases ? (
<div className="center-align">
<progress className="circle" />
</div>
) : releases.length > 0 ? (
<ReleasesOverview <ReleasesOverview
page={page} page={page}
setPage={setPage} setPage={setPage}