diff --git a/plugins/dorion-custom-keybinds/index.tsx b/plugins/dorion-custom-keybinds/index.tsx index 3d15d16..49271c9 100644 --- a/plugins/dorion-custom-keybinds/index.tsx +++ b/plugins/dorion-custom-keybinds/index.tsx @@ -13,7 +13,7 @@ const { let child: Element = null const viewedKeybindsCallback = (payload) => { - if (payload.section !== 'Keybinds') { + if (payload.section !== 'keybinds_panel') { if (child) { child.remove() child = null @@ -58,10 +58,8 @@ const viewedKeybindsCallback = (payload) => { k.value !== 'PUSH_TO_TALK')} - // @ts-expect-error it does exist I promise - keybindDescriptions={owner.keybindDescriptions} + keybindActionTypes={owner.props.keybindActionTypes.filter((k) => k.value !== 'PUSH_TO_TALK')} + keybindDescriptions={owner.props.keybindDescriptions} /> )