Skip to content

Commit

Permalink
Fix status icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Dec 10, 2024
1 parent f4ceaf9 commit 9f8ebde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storybook/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function useIcons( item ) {
return useMemo( () => {
let data = {};

if ( item.isComponent && item.children?.length ) {
if ( item.type === 'component' && item.children?.length ) {
data = api.getData( item.children[ 0 ] ) ?? {};
}

Expand Down

0 comments on commit 9f8ebde

Please sign in to comment.