Skip to content

Commit

Permalink
fix(Stories): description fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
mytwink committed Oct 11, 2024
1 parent 05fa2e4 commit 32ba3a1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ export const StoriesLayout = (props: StoriesLayoutProps) => {
{currentStory.title && (
<div className={b('text-header')}>{currentStory.title}</div>
)}
{currentStory.description && (
{currentStory.content && (
<div className={b('text-content')}>
{currentStory.description}
{currentStory.content}
</div>
)}
{currentStory.content && (
{!currentStory.content && currentStory.description && (
<div className={b('text-content')}>
{currentStory.content}
{currentStory.description}
</div>
)}
{currentStory.url && (
Expand Down

0 comments on commit 32ba3a1

Please sign in to comment.