Перенес структуру Севы

This commit is contained in:
ifraimka1 committed 2025-04-03 14:47:05 +03:00
1 parent 808d97eb4b
commit 060110008c
54 files changed
+816 -2263

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
import { usePosts } from "@/modules/posts/hooks/usePosts";
import { PagePost } from "@/widgets/PostPage";
import { WpPost } from "@/widgets/WpPost";
interface CategoryPageProps {
category: string;
@@ -22,9 +22,9 @@ export function CategoryPage({ category }: CategoryPageProps) {
return (
<>
{categoryPosts.map((post) => (
<PagePost key={post.id} post={post}>
<WpPost key={post.id} post={post}>
<div className="btn">Показать еще</div>
</PagePost>
</WpPost>
))}
</>
);