Skip to content

Commit

Permalink
remove ?
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksMWix committed Dec 9, 2024
1 parent db0f3ae commit 15b55d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gallery/src/components/item/itemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ class ItemView extends React.Component {
options.titlePlacement !== GALLERY_CONSTS.placements.SHOW_ON_HOVER &&
!this.hasRequiredMediaUrl;
const itemAriaRole = this.getItemAriaRole();
const Element = this.props?.elementsOverride?.item || 'div';
const Element = this.props.elementsOverride?.item || 'div';
const innerDiv = (
<Element
className={this.getItemContainerClass()}
Expand Down

0 comments on commit 15b55d5

Please sign in to comment.