From 421a1c8310e60faee6f158bced7ee7968e23e228 Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Wed, 19 Aug 2020 01:25:09 +0000 Subject: [PATCH] chore(lint): run lint. --- src/components/ModalPortal.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/ModalPortal.js b/src/components/ModalPortal.js index c84a52f0..268fbd78 100644 --- a/src/components/ModalPortal.js +++ b/src/components/ModalPortal.js @@ -1,4 +1,4 @@ -import React, { Component } from "react"; +import { Component } from "react"; import PropTypes from "prop-types"; import * as focusManager from "../helpers/focusManager"; import scopeTab from "../helpers/scopeTab"; @@ -345,7 +345,13 @@ export default class ModalPortal extends Component { }, {}); render() { - const { id, className, overlayClassName, defaultStyles, children } = this.props; + const { + id, + className, + overlayClassName, + defaultStyles, + children + } = this.props; const contentStyles = className ? {} : defaultStyles.content; const overlayStyles = overlayClassName ? {} : defaultStyles.overlay;