Skip to content

Commit

Permalink
Fix type in example
Browse files Browse the repository at this point in the history
  • Loading branch information
niedzielski committed Jan 9, 2024
1 parent 08681fb commit 871e6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/polls.example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Header = () => (

const Footer = (props: {children?: Devvit.ElementChildren}) => (
<hstack gap='small' alignment='middle' padding='medium' height='32px'>
{props.children}
{props.children ?? null}
<text color='neutral-content-weak' size='small'>
15 hours 11 minutes left
</text>
Expand Down

0 comments on commit 871e6b2

Please sign in to comment.