chore(deps): update dependency prettier to v1.19.1 (#2893)

* chore(deps): update dependency prettier to v1.19.1

* style: format files after prettier upgrade
This commit is contained in:
Erez Rokah
2019-11-18 17:51:51 +02:00
committed by GitHub
parent e00aab2a8b
commit ead46af194
17 changed files with 80 additions and 81 deletions

View File

@ -38,7 +38,12 @@ function onKeyDown(event, change) {
.collapseToStartOf(newBlock);
}
const marks = [['b', 'bold'], ['i', 'italic'], ['s', 'strikethrough'], ['`', 'code']];
const marks = [
['b', 'bold'],
['i', 'italic'],
['s', 'strikethrough'],
['`', 'code'],
];
const [, markName] = marks.find(([key]) => isHotkey(`mod+${key}`, event)) || [];