Skip to content

Commit fafa127

Browse files
tsmirnovdiasbruno
authored andcommitted
typo fix
1 parent fe1983b commit fafa127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/components/ModalPortal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default class ModalPortal extends Component {
221221
this.shouldClose = false;
222222
}
223223

224-
handleCountenOnMouseDown = () => {
224+
handleContentOnMouseDown = () => {
225225
this.shouldClose = false;
226226
}
227227

@@ -277,7 +277,7 @@ export default class ModalPortal extends Component {
277277
className={this.buildClassName('content', className)}
278278
tabIndex="-1"
279279
onKeyDown={this.handleKeyDown}
280-
onMouseDown={this.handleCountenOnMouseDown}
280+
onMouseDown={this.handleContentOnMouseDown}
281281
onClick={this.handleContentOnClick}
282282
role={this.props.role}
283283
aria-label={this.props.contentLabel}

0 commit comments

Comments
 (0)