Can you add the componentDidUpdate cycle to refresh the update keyset combination?
I think the following code block will fix the problem.
componentDidUpdate({ keyName: prevKeyName }) {
Hotkeys.unbind(prevKeyName as string);
const { filter } = this.props;
if (filter) {
Hotkeys.filter = filter;
}
Hotkeys(this.props.keyName as string, this.onKeyDown);
}