diff options
author | 2021-07-02 19:49:55 -0600 | |
---|---|---|
committer | 2021-07-03 07:19:55 +0530 | |
commit | 33123c354b79f7951423dd75097b11e7eb075f99 (patch) | |
tree | 29f6e857f02d0e0fc67d89a657a54a865ed5538a /src/components/ui/ImageUpload.js | |
parent | Minor refactoring to move all runtime configs from 'config.js' into 'environm... (diff) | |
download | ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.tar.gz ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.tar.zst ferdium-app-33123c354b79f7951423dd75097b11e7eb075f99.zip |
Upgrade various dependencies to latest part 2 (#1557)
* Upgrade various dependencies to latest, remove unnecessary electron-hunspell
- upgrade eslint and friends to latest
- remove deprecated 'node-sass' in favor of 'sass'
- disable new rules from 'eslint-config-airbnb' that are conflicting with current code style
- add workspace config for 'vscode' that silences 'experimentalDecorator' warning and forces 'prettier' to single quote
* Run yarn lint to autofix with new ruleset and worked down lint issues to zero
Diffstat (limited to 'src/components/ui/ImageUpload.js')
-rw-r--r-- | src/components/ui/ImageUpload.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/ImageUpload.js b/src/components/ui/ImageUpload.js index e831eb47b..6a8c7645f 100644 --- a/src/components/ui/ImageUpload.js +++ b/src/components/ui/ImageUpload.js | |||
@@ -55,7 +55,7 @@ export default @observer class ImageUpload extends Component { | |||
55 | </label> | 55 | </label> |
56 | <div className="image-upload"> | 56 | <div className="image-upload"> |
57 | {(field.value && field.value !== 'delete') || this.state.path ? ( | 57 | {(field.value && field.value !== 'delete') || this.state.path ? ( |
58 | <Fragment> | 58 | <> |
59 | <div | 59 | <div |
60 | className="image-upload__preview" | 60 | className="image-upload__preview" |
61 | style={{ | 61 | style={{ |
@@ -80,7 +80,7 @@ export default @observer class ImageUpload extends Component { | |||
80 | </button> | 80 | </button> |
81 | <div className="image-upload__action-background" /> | 81 | <div className="image-upload__action-background" /> |
82 | </div> | 82 | </div> |
83 | </Fragment> | 83 | </> |
84 | ) : ( | 84 | ) : ( |
85 | <Dropzone | 85 | <Dropzone |
86 | ref={(node) => { | 86 | ref={(node) => { |