mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:29:45 +00:00
Изменил тип постов для проектов и лабораторий на объект, other оставил массивом
This commit is contained in:
1 parent
b07b5ee57e
commit
7a851323d2
2 files changed
+6
-6
No files matched your search
@@ -11,8 +11,6 @@ function PagePost({ post, isLab = false }) {
|
||||
<PageContent className="content">
|
||||
{typeof post !== 'undefined' && typeof post.content !== 'string' &&
|
||||
post.content.map(el => {
|
||||
console.log(el.type);
|
||||
console.log(el);
|
||||
if (el.type === 'mediablock') {
|
||||
return <MediaBlock images={el.value} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user