fix: improve cross-platform consistency
Co-authored-by: moT01 <tmondloch01@gmail.com>
This commit is contained in:
committed by
mrugesh
parent
cd3ef998a6
commit
8b2f96609d
@ -4,7 +4,7 @@ import { HotKeys, GlobalHotKeys } from 'react-hotkeys';
|
|||||||
import { navigate } from 'gatsby';
|
import { navigate } from 'gatsby';
|
||||||
|
|
||||||
const keyMap = {
|
const keyMap = {
|
||||||
EXECUTE_CHALLENGE: 'ctrl+enter',
|
EXECUTE_CHALLENGE: ['ctrl+enter', 'cmd+enter'],
|
||||||
NAVIGATE_PREV: ['ctrl+left', 'cmd+left'],
|
NAVIGATE_PREV: ['ctrl+left', 'cmd+left'],
|
||||||
NAVIGATE_NEXT: ['ctrl+right', 'cmd+right']
|
NAVIGATE_NEXT: ['ctrl+right', 'cmd+right']
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user