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

@ -48,7 +48,7 @@ export function IndexCategoryPage(props) {
// if (error) return <div>failed to load</div>;
return (
<main className="container pt-2 pb-16 mx-auto sm:pt-4 sm:pb-0">
<>
{content && content.length > 0 ? (
<ReleaseSection
sectionTitle={props.SectionTitleMapping[props.slug]}
@ -76,6 +76,6 @@ export function IndexCategoryPage(props) {
<span className="text-lg">Загрузить ещё</span>
</div>
</Button>
</main>
</>
);
}