Skip to content

Commit 287c05c

Browse files
committed
docs: fix undefined children
1 parent 4f1d03a commit 287c05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/src/gatsby-plugin-theme-ui/components.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const components = {
6060
h6: heading('h6'),
6161
Alert,
6262
Hide: (props) => (
63-
<div style={{ display: 'none' }} aria-hidden>{children}</div>
63+
<div style={{ display: 'none' }} aria-hidden>{props.children}</div>
6464
)
6565
}
6666

0 commit comments

Comments
 (0)