diff --git a/src/renderer/store/modules/utils.js b/src/renderer/store/modules/utils.js index 4ff450e7..2165eaa4 100644 --- a/src/renderer/store/modules/utils.js +++ b/src/renderer/store/modules/utils.js @@ -284,7 +284,7 @@ const actions = { fs.mkdirSync(folderPath, { recursive: true }) } catch (err) { console.error(err) - this.showToast({ + dispatch('showToast', { message: err }) return