refactor: merge <main> from pages in to one in App.tsx

This commit is contained in:
Kentai Radiquum 2024-08-23 00:09:19 +05:00
parent 7ab0befa5e
commit 32ff8bce0c
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
15 changed files with 109 additions and 109 deletions

View file

@ -38,7 +38,7 @@ export function CollectionsPage() {
}, [userStore.state, userStore.token]);
return (
<main className="container flex flex-col pt-2 pb-16 mx-auto sm:pt-4 sm:pb-0">
<>
{userStore.state === "loading" &&
(!userCollections || !favoriteCollections) && (
<div className="flex items-center justify-center min-w-full min-h-screen">
@ -63,6 +63,6 @@ export function CollectionsPage() {
content={favoriteCollections.content}
/>
)}
</main>
</>
);
}