mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:19:45 +00:00
Перенес структуру Севы
This commit is contained in:
1 parent
808d97eb4b
commit
060110008c
54 files changed
+816
-2263
No files matched your search
@@ -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>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user