Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions plugins/dorion-custom-keybinds/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -58,10 +58,8 @@ const viewedKeybindsCallback = (payload) => {
<Keybinds
// Remove PUSH_TO_TALK because that is set in the voice & video section and I can't be assed
// to come up with a good way to handle it being set somewhere else right now
// @ts-expect-error it does exist I promise
keybindActionTypes={owner.keybindActionTypes.filter((k) => 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}
/>
</ReactiveRoot>
)
Expand Down
Loading