Merge remote-tracking branch 'mkljczk/develop' into develop

This commit is contained in:
marcin mikołajczak 2024-09-17 20:02:09 +02:00
commit c8d201914a
2 changed files with 6 additions and 5 deletions

View file

@ -133,8 +133,9 @@ const Status: React.FC<IStatus> = (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 => {

View file

@ -4624,9 +4624,9 @@ domhandler@^4.2.0, domhandler@^4.3.1:
domelementtype "^2.2.0"
dompurify@^3.0.8:
version "3.0.8"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.0.8.tgz#e0021ab1b09184bc8af7e35c7dd9063f43a8a437"
integrity sha512-b7uwreMYL2eZhrSCRC4ahLTeZcPZxSmYfmcQGXGkXiZSNW1X85v+SDM5KsWcpivIiUBH47Ji7NtyUdpLeF5JZQ==
version "3.1.6"
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.1.6.tgz#43c714a94c6a7b8801850f82e756685300a027e2"
integrity sha512-cTOAhc36AalkjtBpfG6O8JimdTMWNXjiePT2xQH/ppBGi/4uIpmj8eKyIkMJErXWARyINV/sB38yf8JCLF5pbQ==
domutils@^2.8.0:
version "2.8.0"