diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index 6eb79e6385..54155f94a7 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -132,8 +132,9 @@ const Status: React.FC = (props) => { dispatch(replyCompose(actualStatus, status.reblog_id ? status.account : undefined)); }; - const handleHotkeyFavourite = (): void => { - toggleFavourite(actualStatus); + const handleHotkeyFavourite = (e?: KeyboardEvent): void => { + e?.preventDefault(); + dispatch(toggleFavourite(actualStatus)); }; const handleHotkeyBoost = (e?: KeyboardEvent): void => {