diff --git a/src/actions/actionAlign.tsx b/src/actions/actionAlign.tsx index d5140edc..d4bc1008 100644 --- a/src/actions/actionAlign.tsx +++ b/src/actions/actionAlign.tsx @@ -52,11 +52,8 @@ export const actionAlignTop = register({ commitToHistory: true, }; }, - keyTest: (event) => { - return ( - event[KEYS.CTRL_OR_CMD] && event.shiftKey && event.key === KEYS.ARROW_UP - ); - }, + keyTest: (event) => + event[KEYS.CTRL_OR_CMD] && event.shiftKey && event.key === KEYS.ARROW_UP, PanelComponent: ({ elements, appState, updateData }) => (