From 386b9c586bf33be993b4cd890d3a760a77560a6e Mon Sep 17 00:00:00 2001 From: Emma Date: Sat, 17 Sep 2022 10:43:11 -0400 Subject: [PATCH] Fixing an undefined function reference (#2586) --- src/renderer/store/modules/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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