aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/imageZoom/index.tsx
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-04-14 21:47:03 -0300
committerGitHub <noreply@github.com>2023-04-15 02:47:03 +0200
commit96f640da674e89824881070c4081b7aee212e619 (patch)
tree9d8dbdf97313c79410c8d1a2b380116d2b7d3a86 /src/plugins/imageZoom/index.tsx
parente8809fc57bd1c679e9a84ae6adc949655e3a86ec (diff)
downloadVencord-96f640da674e89824881070c4081b7aee212e619.tar.gz
Vencord-96f640da674e89824881070c4081b7aee212e619.tar.bz2
Vencord-96f640da674e89824881070c4081b7aee212e619.zip
Make Context Menu API support hooks (#902)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/imageZoom/index.tsx')
-rw-r--r--src/plugins/imageZoom/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx
index d65df08..9007bf4 100644
--- a/src/plugins/imageZoom/index.tsx
+++ b/src/plugins/imageZoom/index.tsx
@@ -75,7 +75,7 @@ export const settings = definePluginSettings({
});
-const imageContextMenuPatch: NavContextMenuPatchCallback = (children, _) => {
+const imageContextMenuPatch: NavContextMenuPatchCallback = children => () => {
children.push(
<Menu.MenuGroup id="image-zoom">
{/* thanks SpotifyControls */}