diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-07 08:03:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 08:03:45 +0200 |
commit | 31f8ada876b3aec45ffffcf82079eaacb69349fc (patch) | |
tree | 9f5752b7bbc42c9b5b3c2b02517732b3a2e5b868 /src/components/ui/Select.js | |
parent | chore: simplify babel configuration (#2029) (diff) | |
download | ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.gz ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.tar.zst ferdium-app-31f8ada876b3aec45ffffcf82079eaacb69349fc.zip |
chore: upgrade react to latest (#2030)
Diffstat (limited to 'src/components/ui/Select.js')
-rw-r--r-- | src/components/ui/Select.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/Select.js b/src/components/ui/Select.js index 5ac7ddd6d..a560da332 100644 --- a/src/components/ui/Select.js +++ b/src/components/ui/Select.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import { createRef, Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | 2 | import PropTypes from 'prop-types'; |
3 | import { observer } from 'mobx-react'; | 3 | import { observer } from 'mobx-react'; |
4 | import { Field } from 'mobx-react-form'; | 4 | import { Field } from 'mobx-react-form'; |
@@ -24,7 +24,7 @@ class Select extends Component { | |||
24 | constructor(props) { | 24 | constructor(props) { |
25 | super(props); | 25 | super(props); |
26 | 26 | ||
27 | this.element = React.createRef(); | 27 | this.element = createRef(); |
28 | } | 28 | } |
29 | 29 | ||
30 | multipleChange() { | 30 | multipleChange() { |