chore: Clean up unused files, imports, and work on getting end-to-end tests and unit tests running (#2272)
This commit is contained in:
1 parent
414ebc6850
commit
0db81b30f3
374 files changed
+14138
-21288
No files matched your search
@@ -7,7 +7,9 @@ import './Modal.css';
|
||||
import { Typography, Icon } from '../../components';
|
||||
import { useModal } from '../../contextProviders';
|
||||
|
||||
if (typeof document !== 'undefined') ReactModal.setAppElement(document.getElementById('root'));
|
||||
if (typeof document !== 'undefined') {
|
||||
ReactModal.setAppElement(document.getElementById('root'));
|
||||
}
|
||||
|
||||
const Modal = ({
|
||||
closeButton,
|
||||
@@ -35,7 +37,6 @@ const Modal = ({
|
||||
</Typography>
|
||||
{closeButton && (
|
||||
<Icon
|
||||
data-cy="close-button"
|
||||
onClick={onClose}
|
||||
name="close"
|
||||
className="cursor-pointer text-primary-active w-6 h-6"
|
||||
|
||||
Reference in new issue
Block a user