1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-12 01:40:53 +01:00

Update renderer/pages/index.tsx

Co-authored-by: NayamAmarshe <nayamamarshe@protonmail.com>
This commit is contained in:
Yevgeniy Akimenko 2023-05-02 13:07:13 -07:00 committed by GitHub
parent 1dc313cb7f
commit af613ac3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,8 +365,7 @@ const Home = () => {
setVideoPath(filePath);
} else {
logit("📢 Setting image path: ", filePath);
SetImagePath(filePath);
setFormattedImagePath(formatPath(filePath));
SetImagePath(formatPath(filePath));
}
var dirname = filePath.match(/(.*)[\/\\]/)[1] || "";