Applied code review feedback Re #128

This commit is contained in:
David Coomber 2023-03-21 17:45:26 +02:00
parent 8c29d131e2
commit 5899ca446d

View File

@ -160,7 +160,7 @@ export const HotkeysProvider = (props) => {
return () => { return () => {
Mousetrap.unbind(['command+w', 'ctrl+w']); Mousetrap.unbind(['command+w', 'ctrl+w']);
}; };
}, [activeTabUid, tabs, collections, setShowNewRequestModal]); }, [activeTabUid]);
return ( return (
<HotkeysContext.Provider {...props} value="hotkey"> <HotkeysContext.Provider {...props} value="hotkey">