Развел карточки и пост в разные типы

This commit is contained in:
ifraimka1 committed 2025-04-15 15:39:23 +03:00
1 parent de1e3beee3
commit 64b797bd38
3 files changed
+25 -22

No files matched your search

+1 -3
View File
@@ -22,9 +22,7 @@ export function CategoryPage({ category }: CategoryPageProps) {
return (
<>
{categoryPosts.map((post) => (
<WpPost key={post.id} post={post}>
<div className="btn">Показать еще</div>
</WpPost>
<WpPost key={post.id} post={post} />
))}
</>
);
+1 -1
View File
@@ -6,7 +6,7 @@ import { PageContent, PageHeader } from "@/widgets/WpPost";
import { App } from "@/shared/types/app";
interface WpPostProps {
post: App.WpPost;
post: App.WpPostPage;
children?: ReactNode;
}