Skip to content

Commit

Permalink
Resolving exhaustive-deps issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hayward committed Feb 15, 2024
1 parent d450598 commit 874b85e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions storybook/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ function useIcons( item ) {
)
: null
);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ item.id ] );
}, [ api, item.children, item.isComponent ] );
}

function Label( { item } ) {
Expand Down

0 comments on commit 874b85e

Please sign in to comment.