Skip to content

Commit

Permalink
Fix variable name error (usebruno#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
3000-2 authored and Its-treason committed Apr 13, 2024
1 parent a097214 commit f2d1a54
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 f2d1a54

Please sign in to comment.