Skip to content

Commit

Permalink
Remove duplicate hardcoded classnames(already added by context connexct)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 7, 2023
1 parent 59d21e0 commit af98989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/dropdown-menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function UnconnectedDropdownMenu( dropdownMenuProps: DropdownMenuProps ) {

return (
<Dropdown
className={ classnames( 'components-dropdown-menu', className ) }
className={ className }
popoverProps={ mergedPopoverProps }
renderToggle={ ( { isOpen, onToggle } ) => {
const openOnArrowDown = ( event: React.KeyboardEvent ) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const UnconnectedDropdown = (

return (
<div
className={ classnames( 'components-dropdown', className ) }
className={ className }
ref={ useMergeRefs( [
containerRef,
forwardedRef,
Expand Down

0 comments on commit af98989

Please sign in to comment.