diff --git a/README.md b/README.md index 5cc51f1..1cbacd0 100644 --- a/README.md +++ b/README.md @@ -246,9 +246,9 @@ import { getHotKeyHint } from 'keyux' -const macCompat = hotkeyMacCompat(); -startKeyUX(window, [hotkeyKeyUX([macCompat])]) -getHotKeyHint(window, 'ctrl+b', [macCompat]) +const mac = hotkeyMacCompat(); +startKeyUX(window, [hotkeyKeyUX([mac])]) +getHotKeyHint(window, 'ctrl+b', [mac]) // Ctrl+B on Windows/Linux and ⌘+b on Mac ``` Hotkeys pressed with the Meta modifier will work as if