summaryrefslogtreecommitdiff
path: root/src/components/modals/Modal.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-05-11 14:41:44 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-05-11 14:41:44 +0200
commite94daacc1d9fb3870a74256de3b94be0dbaf05a1 (patch)
tree75115cd3561c90ecd330c54dc0ba4d16bd13ba5e /src/components/modals/Modal.js
parent3d817d26461cd2f7904e55e46d66bb0b032420a8 (diff)
Upgrade and fix regressions
Diffstat (limited to 'src/components/modals/Modal.js')
-rw-r--r--src/components/modals/Modal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/modals/Modal.js b/src/components/modals/Modal.js
index 367cf2da..19337db8 100644
--- a/src/components/modals/Modal.js
+++ b/src/components/modals/Modal.js
@@ -22,8 +22,8 @@ class Modal extends React.Component {
// 'close' triggers)
visible = false;
- constructor() {
- super();
+ constructor(props) {
+ super(props);
this.id = "modal-" + Modal.idCounter++;
}