diff options
author | 2021-10-07 08:03:45 +0200 | |
---|---|---|
committer | 2021-10-07 08:03:45 +0200 | |
commit | 31f8ada876b3aec45ffffcf82079eaacb69349fc (patch) | |
tree | 9f5752b7bbc42c9b5b3c2b02517732b3a2e5b868 /src/features/webControls | |
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/features/webControls')
-rw-r--r-- | src/features/webControls/components/WebControls.js | 4 | ||||
-rw-r--r-- | src/features/webControls/containers/WebControlsScreen.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/features/webControls/components/WebControls.js b/src/features/webControls/components/WebControls.js index 97fa20dcc..8261ede2b 100644 --- a/src/features/webControls/components/WebControls.js +++ b/src/features/webControls/components/WebControls.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 injectSheet from 'react-jss'; | 4 | import injectSheet from 'react-jss'; |
@@ -121,7 +121,7 @@ class WebControls extends Component { | |||
121 | } | 121 | } |
122 | } | 122 | } |
123 | 123 | ||
124 | inputRef = React.createRef(); | 124 | inputRef = createRef(); |
125 | 125 | ||
126 | state = { | 126 | state = { |
127 | inputUrl: '', | 127 | inputUrl: '', |
diff --git a/src/features/webControls/containers/WebControlsScreen.js b/src/features/webControls/containers/WebControlsScreen.js index 0273bb13e..6fba5db86 100644 --- a/src/features/webControls/containers/WebControlsScreen.js +++ b/src/features/webControls/containers/WebControlsScreen.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import React, { Component } from 'react'; | 1 | import { Component } from 'react'; |
2 | import { observer, inject } from 'mobx-react'; | 2 | import { observer, inject } from 'mobx-react'; |
3 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
4 | 4 | ||