diff --git a/src/components/UnorderedList.tsx b/src/components/UnorderedList.tsx
index a16f52545c3b..6437a0114776 100644
--- a/src/components/UnorderedList.tsx
+++ b/src/components/UnorderedList.tsx
@@ -5,23 +5,19 @@ import Text from './Text';
type UnorderedListProps = {
/** An array of strings to display as an unordered list */
- items: string[];
+ items?: string[];
};
function UnorderedList({items = []}: UnorderedListProps) {
- return (
- <>
- {items.map((itemText) => (
-
- {'\u2022'}
- {itemText}
-
- ))}
- >
- );
+ return items.map((itemText) => (
+
+ {'\u2022'}
+ {itemText}
+
+ ));
}
UnorderedList.displayName = 'UnorderedList';