frontend-rw #1

Merged
marcin merged 347 commits from frontend-rw into develop 2024-12-05 15:32:18 -08:00
2 changed files with 19 additions and 24 deletions
Showing only changes of commit 7a85ef413b - Show all commits

View file

@ -29,8 +29,6 @@ const ScheduledStatusActionBar: React.FC<IScheduledStatusActionBar> = ({ status
const { settings } = useSettingsStore();
const handleCancelClick = () => {
dispatch((_, getState) => {
const deleteModal = settings.deleteModal;
if (!deleteModal) {
dispatch(cancelScheduledStatus(status.id));
@ -42,7 +40,6 @@ const ScheduledStatusActionBar: React.FC<IScheduledStatusActionBar> = ({ status
onConfirm: () => dispatch(cancelScheduledStatus(status.id)),
});
}
});
};
return (

View file

@ -143,7 +143,6 @@ const Thread: React.FC<IThread> = ({
const handleModalReblog = (status: Pick<SelectedStatus, 'id'>) => dispatch(reblog(status));
const handleReblogClick = (status: SelectedStatus, e?: React.MouseEvent) => {
dispatch((_, getState) => {
const boostModal = settings.boostModal;
if (status.reblogged) {
dispatch(unreblog(status));
@ -154,7 +153,6 @@ const Thread: React.FC<IThread> = ({
openModal('BOOST', { statusId: status.id, onReblog: handleModalReblog });
}
}
});
};
const handleMentionClick = (account: Pick<Account, 'acct'>) => dispatch(mentionCompose(account));