Skip to content

Commit df0a954

Browse files
committed
fix jsx render
1 parent 408fb01 commit df0a954

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/developers/tutorials.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,9 @@ const TutorialPage = ({
475475
<Text color="text200" fontSize="sm" textTransform="uppercase">
476476
<Emoji text=":writing_hand:" fontSize="sm" me={2} />
477477
{tutorial.author}
478-
{tutorial.published && " • " + published(locale!, tutorial.published)}
478+
{tutorial.published ? (
479+
<>{published(locale!, tutorial.published!)}</>
480+
) : null}
479481
{tutorial.timeToRead && (
480482
<>
481483
{" "}

0 commit comments

Comments
 (0)