Skip to content

Commit

Permalink
Fix variable name error (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
3000-2 authored Apr 9, 2024
1 parent 00c0e41 commit f3fe0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-app/src/providers/App/useIpcEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
}
});
Expand Down

0 comments on commit f3fe0ee

Please sign in to comment.