diff --git a/apps/extension/src/popup.ts b/apps/extension/src/popup.ts index c42dd93b..388cd95b 100644 --- a/apps/extension/src/popup.ts +++ b/apps/extension/src/popup.ts @@ -20,6 +20,9 @@ export const popup = async ( ): Promise => { const popupId = crypto.randomUUID(); await spawnPopup(req.type, popupId); + + // this is necessary given it takes a bit of time for the popup + // to be ready to accept messages from the service worker. await popupReady(popupId); const response = await chrome.runtime