mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-21 12:33:34 +02: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') {
|
if (typeof error === 'string') {
|
||||||
return toast.error(error || 'Something went wrong!');
|
return toast.error(error || 'Something went wrong!');
|
||||||
}
|
}
|
||||||
if (typeof message === 'object') {
|
if (typeof error === 'object') {
|
||||||
return toast.error(error.message || 'Something went wrong!');
|
return toast.error(error.message || 'Something went wrong!');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user