We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82e1e58 commit 4fac5c9Copy full SHA for 4fac5c9
specialtea/src/components/UI/Modal/Modal.js
@@ -1,10 +1,10 @@
1
import { Fragment } from 'react';
2
-import ReactDOM from ' react-dom';
+import ReactDOM from 'react-dom';
3
4
import Backdrop from './Backdrop/Backdrop';
5
import Overlay from './Overlay/Overlay';
6
7
-const Modal = () => {
+const Modal = props => {
8
const portalElement = document.getElementById('overlay');
9
10
return (
0 commit comments