From f3fe0ee736ffb1c9a990cc0cd4d0af2d57df6c99 Mon Sep 17 00:00:00 2001 From: 3002 <82024136+3000-2@users.noreply.github.com> Date: Wed, 10 Apr 2024 06:26:17 +0900 Subject: [PATCH] Fix variable name error (#1781) --- packages/bruno-app/src/providers/App/useIpcEvents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/providers/App/useIpcEvents.js b/packages/bruno-app/src/providers/App/useIpcEvents.js index 53d5d195d..467a8582c 100644 --- a/packages/bruno-app/src/providers/App/useIpcEvents.js +++ b/packages/bruno-app/src/providers/App/useIpcEvents.js @@ -95,7 +95,7 @@ const useIpcEvents = () => { if (typeof error === 'string') { return toast.error(error || 'Something went wrong!'); } - if (typeof message === 'object') { + if (typeof error === 'object') { return toast.error(error.message || 'Something went wrong!'); } });