Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 457764d

Browse files
Sean Hoseanho96
andauthored
fix: missing previews (#2726)
Co-authored-by: Sean Ho <[email protected]>
1 parent 61dc2ee commit 457764d

File tree

1 file changed

+2
-2
lines changed
  • src/pages/academy/blog/posts/preview

1 file changed

+2
-2
lines changed

src/pages/academy/blog/posts/preview/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ const BlogPreview = () => {
261261
)
262262
})}
263263
</Flex>
264-
{side_banner_data_details && (
264+
{side_banner_data_details?.imgSrcDesktop && (
265265
<Banner detailsPreviewObj={side_banner_data_details} />
266266
)}
267267
<DesktopWrapper>
@@ -280,7 +280,7 @@ const BlogPreview = () => {
280280
}}
281281
/>
282282

283-
{footer_banner_details && (
283+
{footer_banner_details?.imgSrcDesktop && (
284284
<Banner detailsPreviewObj={footer_banner_details} />
285285
)}
286286
<SocialComponentsWrapper>

0 commit comments

Comments
 (0)