diff --git a/src/ui/List/UnorderedList.stories.js b/src/ui/List/UnorderedList.stories.js index f792557f3a..6fbba796bc 100644 --- a/src/ui/List/UnorderedList.stories.js +++ b/src/ui/List/UnorderedList.stories.js @@ -47,17 +47,7 @@ function UnorderedList(animated, divided, horizontal, items) { > {items && items.map((item, index) => ( - - {item.content} - - {item.subList && - item.subList.map((sub, subIndex) => ( - - {sub.content} - - ))} - - + {item.content} ))} ); @@ -80,25 +70,18 @@ Default.args = { { header: 'header 1', content: 'Content 1', - subList: [], }, { header: 'header 2', content: 'Content 2', - subList: [], }, { header: 'header 3', content: 'Content 3', - subList: [], }, { header: 'header 4', content: 'Content 4', - subList: [ - { header: 'Sub header 1', content: 'content' }, - { header: 'Sub header ', content: 'content' }, - ], }, ], };