diff --git a/renderer/pages/index.tsx b/renderer/pages/index.tsx
index cae1364..5c0ca7d 100644
--- a/renderer/pages/index.tsx
+++ b/renderer/pages/index.tsx
@@ -480,15 +480,6 @@ const Home = () => {
resetImagePaths();
};
- const formatPath = (path) => {
- //USE REGEX TO GET THE FILENAME AND ENCODE IT INTO PROPER FORM IN ORDER TO AVOID ERRORS DUE TO SPECIAL CHARACTERS
- logit("📢 Formatting path: ", path);
- return path.replace(
- /([^/\\]+)$/i,
- encodeURIComponent(path.match(/[^/\\]+$/i)[0])
- );
- };
-
const allowedFileTypes = ["png", "jpg", "jpeg", "webp"];
const allowedVideoFileTypes = ["webm", "mp4", "mkv"];
@@ -629,7 +620,19 @@ const Home = () => {
{
setDimensions({
@@ -688,9 +691,13 @@ const Home = () => {
{