Skip to content

Commit

Permalink
fix jsx render
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Mar 18, 2024
1 parent 408fb01 commit df0a954
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/developers/tutorials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ const TutorialPage = ({
<Text color="text200" fontSize="sm" textTransform="uppercase">
<Emoji text=":writing_hand:" fontSize="sm" me={2} />
{tutorial.author}
{tutorial.published && " • " + published(locale!, tutorial.published)}
{tutorial.published ? (
<>{published(locale!, tutorial.published!)}</>
) : null}
{tutorial.timeToRead && (
<>
{" "}
Expand Down

0 comments on commit df0a954

Please sign in to comment.