diff --git a/renderer/pages/index.tsx b/renderer/pages/index.tsx index d07e9d5..338f41b 100644 --- a/renderer/pages/index.tsx +++ b/renderer/pages/index.tsx @@ -276,8 +276,7 @@ const Home = () => { if (path !== null) { logit("📢 Selected Image Path: ", path); - SetImagePath(path); - setFormattedImagePath(formatPath(path)); + SetImagePath(formatPath(path)); var dirname = path.match(/(.*)[\/\\]/)[1] || ""; logit("📢 Selected Image Directory: ", dirname); setOutputPath(dirname);