Merge branch 'refactoring'

This commit is contained in:
ifraimka1 committed 2025-04-18 14:49:43 +03:00
commit f82b47c042
17 files changed
+252 -179

No files matched your search

+1 -1
View File
@@ -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;