Skip to content

Commit

Permalink
Remove unnecessary comment
Browse files Browse the repository at this point in the history
Co-authored-by: Larícia Mota <laricia.mota@vtex.com.br>
  • Loading branch information
igorbrasileiro and lariciamota authored Sep 27, 2021
1 parent 809dc41 commit ca142fc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/store-ui/src/molecules/Modal/ModalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ const ModalContentPure = ({
...props
}: ModalContentPureProps) => {
return (
/*
* This next line is disabled due to the onClick prop.
* Even though a div isn't clickable, the onClick is required to prevent event bubbles
* from reaching the Overlay, which calls onDismiss inside the onClick handler when it's clicked.
*/
<div
data-store-modal-content
{...props}
Expand Down

0 comments on commit ca142fc

Please sign in to comment.