diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-28 13:29:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 13:29:54 +0100 |
| commit | 93fa55749c40ed1f1a7bee9157bce81708988656 (patch) | |
| tree | c386e6f0cbac347d15cc10a64d044cb70a6df7f0 /frontend/src/components/modals/TextInputModal.js | |
| parent | 44342c83b886c4d65ef8b74a3bea1d0e12b37f38 (diff) | |
| parent | 34b45675b3de56c847818dbcc829f7ce02ddce56 (diff) | |
Merge pull request #52 from atlarge-research/refactor/jquery
Eliminate jQuery from frontend dependencies
Diffstat (limited to 'frontend/src/components/modals/TextInputModal.js')
| -rw-r--r-- | frontend/src/components/modals/TextInputModal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/TextInputModal.js b/frontend/src/components/modals/TextInputModal.js index d5edb60b..d0918c7e 100644 --- a/frontend/src/components/modals/TextInputModal.js +++ b/frontend/src/components/modals/TextInputModal.js @@ -12,7 +12,7 @@ class TextInputModal extends React.Component { } componentDidUpdate() { - if (this.props.initialValue) { + if (this.props.initialValue && this.textInput) { this.textInput.value = this.props.initialValue } } |
