diff --git a/renderer/src/components/Resources/ImportResource.js b/renderer/src/components/Resources/ImportResource.js index fe656cef1..62b40a512 100644 --- a/renderer/src/components/Resources/ImportResource.js +++ b/renderer/src/components/Resources/ImportResource.js @@ -130,16 +130,25 @@ export default function ImportResource({ logger.debug('ImportResource.js', 'error in loading resource'); setNotify('error'); } finally { + setFolderPath(''); setLoading(false); } }; return ( <> -