Skip to content

Commit

Permalink
[chore] fix prettier linting after merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Vohra authored and diasbruno committed Oct 11, 2017
1 parent 47d0d87 commit 95f628a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/helpers/ariaAppHider.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ export function tryForceFallback() {

export function validateElement(appElement) {
if (!appElement && !globalElement && !tryForceFallback()) {
throw new Error([
'react-modal: Cannot fallback to `document.body`, because it is not',
'ready or available. If you are doing server-side rendering, use this',
'function to defined an element. `Modal.setAppElement(el)` to make',
'this accessible',
].join(' '));
throw new Error(
[
"react-modal: Cannot fallback to `document.body`, because it is not",
"ready or available. If you are doing server-side rendering, use this",
"function to defined an element. `Modal.setAppElement(el)` to make",
"this accessible"
].join(" ")
);
}
}

Expand Down

0 comments on commit 95f628a

Please sign in to comment.