I want to submit a form with react-hook-form using the useHotKeys from react-hotkeys-hook
I have attached a code sandbox trying this. I want to submit a form when a hotkey is clicked as well as when the submit button is clicked. Can this be done?
https://codesandbox.io/s/react-hoot-form-usehotkeys-009rk?file=/src/App.js