diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2023-05-24 06:57:50 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2023-05-24 16:40:43 +0530 |
commit | e245b4fa229bee1e2ab97fcb42de3831b8bdbe5b (patch) | |
tree | d684777b3fde5470c9f99304a9f022422ffb8045 /src/components/ui/imageUpload | |
parent | 6.3.0-nightly.9 [skip ci] (diff) | |
download | ferdium-app-e245b4fa229bee1e2ab97fcb42de3831b8bdbe5b.tar.gz ferdium-app-e245b4fa229bee1e2ab97fcb42de3831b8bdbe5b.tar.zst ferdium-app-e245b4fa229bee1e2ab97fcb42de3831b8bdbe5b.zip |
Upgrade npm modules
Diffstat (limited to 'src/components/ui/imageUpload')
-rw-r--r-- | src/components/ui/imageUpload/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/imageUpload/index.tsx b/src/components/ui/imageUpload/index.tsx index 89e2c65a2..3b164ed41 100644 --- a/src/components/ui/imageUpload/index.tsx +++ b/src/components/ui/imageUpload/index.tsx | |||
@@ -46,7 +46,7 @@ class ImageUpload extends Component<IProps, IState> { | |||
46 | this.setState({ errorState: false }); | 46 | this.setState({ errorState: false }); |
47 | 47 | ||
48 | for (const file of acceptedFiles) { | 48 | for (const file of acceptedFiles) { |
49 | const imgPath = isWindows ? file.path.replace(/\\/g, '/') : file.path; | 49 | const imgPath = isWindows ? file.path.replaceAll('\\', '/') : file.path; |
50 | this.setState({ | 50 | this.setState({ |
51 | path: imgPath, | 51 | path: imgPath, |
52 | }); | 52 | }); |