Skip to content

Commit

Permalink
fix tabpanel ids
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Dec 14, 2023
1 parent 952abb7 commit 3d9c1dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/edit-site/src/components/sidebar-edit-mode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ const FillContents = ( {
className="edit-site-sidebar__panel"
>
<Tabs.Context.Provider value={ tabsContextValue }>
<Tabs.TabPanel id={ SIDEBAR_BLOCK } focusable={ false }>
<Tabs.TabPanel
tabId={ SIDEBAR_TEMPLATE }
focusable={ false }
>
{ isEditingPage ? <PagePanels /> : <TemplatePanel /> }
<PluginTemplateSettingPanel.Slot />
</Tabs.TabPanel>

<Tabs.TabPanel id={ SIDEBAR_TEMPLATE } focusable={ false }>
<Tabs.TabPanel tabId={ SIDEBAR_BLOCK } focusable={ false }>
<InspectorSlot bubblesVirtually />
</Tabs.TabPanel>
</Tabs.Context.Provider>
Expand Down

0 comments on commit 3d9c1dc

Please sign in to comment.