diff options
Diffstat (limited to 'src/plugins/apiContextMenu.ts')
-rw-r--r-- | src/plugins/apiContextMenu.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/apiContextMenu.ts b/src/plugins/apiContextMenu.ts index aeaa0c4..cb85c4f 100644 --- a/src/plugins/apiContextMenu.ts +++ b/src/plugins/apiContextMenu.ts @@ -35,7 +35,7 @@ export default definePlugin({ find: ".Menu,{", all: true, replacement: { - match: /(?<=\.jsxs?\)\(\i\.Menu,)\{/, + match: /(?<=\.jsxs?\)\(\i\.Menu,)\{/g, replace: "{contextMenuApiArguments:typeof arguments!=='undefined'?arguments:[]," } } |