chore: fix various typos (#4857)

Found via `codespell -q 3 -S ./src/locales,./yarn.lock,./src/packages/excalidraw/yarn.lock -L afterall,doubleclick,originaly,reenable,whats,sur`
This commit is contained in:
luzpaz 2022-03-02 01:07:12 -05:00 committed by GitHub
parent 49172ac2d3
commit c5a7723185
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 39 additions and 39 deletions

View file

@ -71,6 +71,6 @@ const shortcutMap: Record<ShortcutName, string[]> = {
export const getShortcutFromShortcutName = (name: ShortcutName) => {
const shortcuts = shortcutMap[name];
// if multiple shortcuts availiable, take the first one
// if multiple shortcuts available, take the first one
return shortcuts && shortcuts.length > 0 ? shortcuts[0] : "";
};