diff --git a/src/popup.js b/src/popup.js index 72a84b3..7a6058c 100644 --- a/src/popup.js +++ b/src/popup.js @@ -88,7 +88,7 @@ async function getCustomManifest() { getCustomManifest(); -async function showUnresolvedTabPage({ path }) { +async function showUnresolvedTabPage(path) { const unresolvedLogs = await getAllUnresolvedLogs(); const unresolvedLogsPage = logPage.getUnresolvedLogsPageRender({ unresolvedLogs }); document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({ @@ -347,7 +347,7 @@ window.addEventListener('message', async (e) => { if (data.path !== '/') { trackPage(data.path); if (data.path === '/customizedTabs/unresolve') { - await showUnresolvedTabPage({ currentPath: data.path }); + await showUnresolvedTabPage(data.path); } } if (!!data.path) {