Skip to content

Commit

Permalink
Components: Fix remaining warning in ColorPanelDropdown (#61933)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
  • Loading branch information
3 people authored May 24, 2024
1 parent ae28b7b commit 92eeecb
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,17 @@ function ColorPanelDropdown( {
</Tabs.TabList>

{ tabs.map( ( tab ) => {
const { key: tabKey, ...restTabProps } =
tab;
return (
<Tabs.TabPanel
key={ tab.key }
tabId={ tab.key }
key={ tabKey }
tabId={ tabKey }
focusable={ false }
>
<ColorPanelTab
{ ...tab }
key={ tabKey }
{ ...restTabProps }
colorGradientControlSettings={
colorGradientControlSettings
}
Expand Down

0 comments on commit 92eeecb

Please sign in to comment.