From 787143ec340d3dae5aa7745f9e754b433de1c770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicole=20Miko=C5=82ajczyk?= Date: Thu, 27 Mar 2025 20:24:36 +0100 Subject: [PATCH] pl-fe: update dep MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicole Mikołajczyk --- packages/pl-fe/package.json | 2 +- packages/pl-fe/src/components/status.tsx | 4 ++-- packages/pl-fe/src/components/tombstone.tsx | 6 ++++-- .../pl-fe/src/features/interaction-requests/index.tsx | 6 ++++-- .../features/notifications/components/notification.tsx | 2 +- packages/pl-fe/src/features/status/components/thread.tsx | 2 +- packages/pl-fe/yarn.lock | 8 ++++---- 7 files changed, 17 insertions(+), 13 deletions(-) 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 ? ( ) : ( - +