1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-19 01:24:09 +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:06:56 -07:00 committed by GitHub
parent 65058db7cd
commit 45a69fecd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,9 +126,8 @@ const Home = () => {
// UPSCAYL DONE // UPSCAYL DONE
window.electron.on(commands.UPSCAYL_DONE, (_, data: string) => { window.electron.on(commands.UPSCAYL_DONE, (_, data: string) => {
setProgress(""); setProgress("");
setUpscaledImagePath(data); setUpscaledImagePath(formatPath(data));
logit("upscaledImagePath: ", upscaledImagePath); logit("upscaledImagePath: ", upscaledImagePath);
setFormattedUpscaledImagePath(formatPath(data));
logit(`📢 UPSCAYL_DONE: `, data); logit(`📢 UPSCAYL_DONE: `, data);
}); });