summaryrefslogtreecommitdiff
path: root/src/components/modals/Modal.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2020-05-11 14:42:59 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2020-05-11 14:42:59 +0200
commite65b805e94052d993f7ef486226cae0ebf9965b5 (patch)
tree75115cd3561c90ecd330c54dc0ba4d16bd13ba5e /src/components/modals/Modal.js
parent3d817d26461cd2f7904e55e46d66bb0b032420a8 (diff)
parente94daacc1d9fb3870a74256de3b94be0dbaf05a1 (diff)
Merge branch 'fixes' into 'master'
Upgrade and regression fixes See merge request opendc/opendc-frontend!62
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++;
}