Merge branches 'develop' and 't3chguy/shortcuts1' of github.com:matrix-org/matrix-react-sdk into t3chguy/shortcuts1

This commit is contained in:
Michael Telatynski 2020-03-20 15:57:25 +00:00
commit 75c3a10bfa
8 changed files with 182 additions and 39 deletions

View file

@ -343,3 +343,7 @@ export const toggleDialog = () => {
},
});
};
export const registerShortcut = (category: Categories, defn: IShortcut) => {
shortcuts[category].push(defn);
};