Skip to content

Commit

Permalink
fix: remove log and query
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandepass committed Jan 16, 2024
1 parent caabe4e commit f20e374
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/extension/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* The modal type
* @typedef {import('@Types').OptionsConfig} OptionsConfig
*/
import { log } from './log.js';

(async () => {
// ensure hlx namespace
Expand Down Expand Up @@ -82,8 +81,6 @@ import { log } from './log.js';
window.hlx.sidekick = configPicker;
}

// Only setup listener if sidekick is not already loaded
let sidekick = document.querySelector('aem-sidekick');
if (!sidekick) {
// wait for config matches
chrome.runtime.onMessage.addListener(async ({ configMatches = [] }, { tab }) => {
Expand Down

0 comments on commit f20e374

Please sign in to comment.