Skip to content

Commit f04cc6a

Browse files
committed
Fix modal DOM element selector
1 parent 8cc953e commit f04cc6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface ModalProps {
1313
}
1414

1515
export const Modal: React.FC<ModalProps> = modal => {
16-
const container = document.getElementById('modal-container');
16+
const container = document.getElementById('react-simple-modal-container');
1717
const { addOrUpdate, remove, getStaggerPixels } = useModalContext();
1818
const { id, isOpen } = modal;
1919

0 commit comments

Comments
 (0)