Skip to content

Commit f7d8ada

Browse files
committed
fixup! fix: tighten OrderedList children prop
1 parent 08219b8 commit f7d8ada

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/elements/OrderedList.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ interface Props {
66
}
77

88
export const OrderedList: Component<Props> = ({ children }) => {
9-
if (children === undefined) {
10-
return null;
11-
}
129
return (
1310
<Fragment>
1411
{children.map((child, index) => (

0 commit comments

Comments
 (0)