diff --git a/src/index.tsx b/src/index.tsx index d104e25..5be474e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -136,7 +136,7 @@ export default definePlugin(() => { const menuPatches = contextMenuPatch(getLibraryContextMenu()); return { - title:
CapyDeploy
, + titleView:
CapyDeploy
, content: , icon: , onDismount() { diff --git a/src/patches/contextMenuPatch.tsx b/src/patches/contextMenuPatch.tsx index 1e6342d..9c65822 100644 --- a/src/patches/contextMenuPatch.tsx +++ b/src/patches/contextMenuPatch.tsx @@ -326,9 +326,7 @@ export function getLibraryContextMenu(): any { e?.toString && e.toString().includes("().LibraryContextMenu") ) ).find( - (sibling) => - sibling?.toString().includes("createElement") && - sibling?.toString().includes("navigator:") + (sibling) => sibling?.toString().includes("navigator:") ) as FC ).type; }