mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Update
This commit is contained in:
parent
7b9e1aa53d
commit
74e12690b5
|
@ -472,7 +472,7 @@ function messaging<S, A extends Action<string>>(
|
||||||
}
|
}
|
||||||
if (!request.message) return;
|
if (!request.message) return;
|
||||||
const reducerError = getReducerError();
|
const reducerError = getReducerError();
|
||||||
chrome.notifications.create('app-error', {
|
void chrome.notifications.create('app-error', {
|
||||||
type: 'basic',
|
type: 'basic',
|
||||||
title: reducerError
|
title: reducerError
|
||||||
? 'An error occurred in the reducer'
|
? 'An error occurred in the reducer'
|
||||||
|
@ -628,7 +628,7 @@ chrome.runtime.onMessage.addListener(messaging);
|
||||||
chrome.runtime.onMessageExternal.addListener(messaging);
|
chrome.runtime.onMessageExternal.addListener(messaging);
|
||||||
|
|
||||||
chrome.notifications.onClicked.addListener((id) => {
|
chrome.notifications.onClicked.addListener((id) => {
|
||||||
chrome.notifications.clear(id);
|
void chrome.notifications.clear(id);
|
||||||
openDevToolsWindow('devtools-window');
|
openDevToolsWindow('devtools-window');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user