Skip to content

Commit

Permalink
chore(lint): run lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Aug 19, 2020
1 parent c797e9a commit 421a1c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/ModalPortal.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 421a1c8

Please sign in to comment.