Skip to content

Commit

Permalink
refactor: remove braces from arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
blackxored committed Dec 13, 2018
1 parent 4e98113 commit 7e60211
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/services/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,8 @@ const getMigrationMapping = (actionName: string) => {
}[normalizeActionName(actionName)];
};

const getActionFromName = (actionName: string) => {
return ACTIONS[actionName] || ACTIONS[getMigrationMapping(actionName)];
};
const getActionFromName = (actionName: string) =>
ACTIONS[actionName] || ACTIONS[getMigrationMapping(actionName)];

const isSupportedHotkey = (hotkey: OBSHotkey) =>
hotkey.ObjectType === obs.EHotkeyObjectType.Source &&
Expand Down

0 comments on commit 7e60211

Please sign in to comment.