mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-25 16:18:56 +01:00
Fix variable name error (#1781)
This commit is contained in:
parent
00c0e418a9
commit
f3fe0ee736
@ -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!');
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user