Skip to content

Commit 95f628a

Browse files
Aditya Vohradiasbruno
Aditya Vohra
authored andcommittedOct 11, 2017
[chore] fix prettier linting after merge issue
1 parent 47d0d87 commit 95f628a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed
 

Diff for: ‎src/helpers/ariaAppHider.js

+8-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ export function tryForceFallback() {
3030

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

0 commit comments

Comments
 (0)
Please sign in to comment.