Skip to content

Commit 04208f1

Browse files
Make static card init non-blocking
1 parent 304c612 commit 04208f1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/content-script/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,9 @@ async function run() {
969969

970970
await prepareForSelectionTools()
971971
await prepareForSelectionToolsTouch()
972-
await prepareForStaticCard()
972+
prepareForStaticCard().catch((error) => {
973+
console.error('[content] Error in prepareForStaticCard (unhandled):', error)
974+
})
973975
await prepareForRightClickMenu()
974976
prepareForJumpBackNotification().catch((error) => {
975977
console.error('[content] Error in prepareForJumpBackNotification (unhandled):', error)

0 commit comments

Comments
 (0)