diff --git a/packages/pl-fe/package.json b/packages/pl-fe/package.json index da3297b5b..1db6bdb3e 100644 --- a/packages/pl-fe/package.json +++ b/packages/pl-fe/package.json @@ -54,7 +54,7 @@ "@lexical/rich-text": "^0.29.0", "@lexical/selection": "^0.29.0", "@lexical/utils": "^0.29.0", - "@mkljczk/react-hotkeys": "^1.2.2", + "@mkljczk/react-hotkeys": "^1.3.0", "@mkljczk/url-purify": "^0.0.2", "@reach/combobox": "^0.18.0", "@reach/rect": "^0.18.0", diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index d35c6d3af..8741ca1be 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -311,7 +311,7 @@ const Status: React.FC = (props) => { }; return ( - +
: {status.filtered.join(', ')}. @@ -348,7 +348,7 @@ const Status: React.FC = (props) => { }; return ( - +
= ({ id, onMoveUp, onMoveDown, deleted }) => { + const node = useRef(null); + const handlers = { moveUp: () => onMoveUp?.(id), moveDown: () => onMoveDown?.(id), }; return ( - +
= ({ const { account: ownAccount } = useOwnAccount(); const { account } = useAccount(interactionRequest.account_id); + const node = useRef(null); + const { mutate: authorize } = useAuthorizeInteractionRequestMutation(interactionRequest.id); const { mutate: reject } = useRejectInteractionRequestMutation(interactionRequest.id); @@ -173,7 +175,7 @@ const InteractionRequest: React.FC = ({ }; return ( - +
diff --git a/packages/pl-fe/src/features/notifications/components/notification.tsx b/packages/pl-fe/src/features/notifications/components/notification.tsx index 1ae4f09ff..b8d557b78 100644 --- a/packages/pl-fe/src/features/notifications/components/notification.tsx +++ b/packages/pl-fe/src/features/notifications/components/notification.tsx @@ -411,7 +411,7 @@ const Notification: React.FC = (props) => { ); return ( - +
= ({ {status.deleted ? ( ) : ( - +