Skip to content

Commit

Permalink
Revert "Use selectedOnMount prop"
Browse files Browse the repository at this point in the history
This reverts commit eaef7d3.
  • Loading branch information
jeryj committed Apr 16, 2024
1 parent 1a44230 commit b7c495e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ function BlockPatternsTab( {
<div className="block-editor-inserter__block-patterns-tabs-container">
<Tabs
selectOnMove={ false }
selectedOnMount={ false }
selectedTabId={
selectedCategory ? selectedCategory.name : null
}
orientation={ 'vertical' }
onSelect={ ( categoryId ) => {
// Pass the full category object
Expand Down

0 comments on commit b7c495e

Please sign in to comment.