Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Provide name in warning about duplicate hotkeys
Browse files Browse the repository at this point in the history
Issue #1283
  • Loading branch information
pablosichert committed Nov 16, 2017
1 parent d0216a4 commit e3364e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Shortcuts/generateHotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default ({ keymap = {}, blacklist = {} } = {}) => {

if (hotkeys[hotkey]) {
// eslint-disable-next-line max-len
console.warn(`There exist multiple definition for key combination "${hotkey}"`);
console.warn(`"${name}" uses already existing key combination "${hotkey}"`);
}

const bucket = [];
Expand Down

0 comments on commit e3364e4

Please sign in to comment.