mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 02:39:45 +00:00
Merge branch 'refactoring'
This commit is contained in:
commit
f82b47c042
17 files changed
+252
-179
No files matched your search
@@ -44,7 +44,7 @@ export const fetchPosts = async (): Promise<App.PostsResult> => {
|
||||
const excerptElement = Parse(post.excerpt.rendered)[0];
|
||||
const newLab: App.LabCard = {
|
||||
...newPost,
|
||||
preview: image?.src || null,
|
||||
preview: image?.src || undefined,
|
||||
previewText: (excerptElement as any)?.props?.children || "",
|
||||
};
|
||||
result.labs[post.id] = newLab;
|
||||
|
||||
Reference in new issue
Block a user