From 253183a16a78ce0ebc183af7e078b61eb0d4d758 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 8 Mar 2023 04:01:24 -0300 Subject: Fix Emote Cloner and improve ReverseImageSearch (#489) --- src/api/ContextMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/ContextMenu.ts b/src/api/ContextMenu.ts index 6467117..9a8d7b6 100644 --- a/src/api/ContextMenu.ts +++ b/src/api/ContextMenu.ts @@ -90,7 +90,7 @@ export function removeGlobalContextMenuPatch(patch: GlobalContextMenuPatchCallba */ export function findGroupChildrenByChildId(id: string, children: Array, itemsArray?: Array): Array | null { for (const child of children) { - if (child === null) continue; + if (child == null) continue; if (child.props?.id === id) return itemsArray ?? null; -- cgit