chore(lint): format extension background script
This commit is contained in:
@@ -84,8 +84,8 @@ async function refreshOffscreenDocument() {
|
|||||||
chrome.runtime.onMessage.addListener(async (request, sender, sendResponse) => {
|
chrome.runtime.onMessage.addListener(async (request, sender, sendResponse) => {
|
||||||
if (request.action === 'startSniffing') {
|
if (request.action === 'startSniffing') {
|
||||||
if (isSniffing) {
|
if (isSniffing) {
|
||||||
sendResponse({ status: 'already_started' });
|
sendResponse({ status: 'already_started' });
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
isSniffing = true;
|
isSniffing = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user