Update to Typescript 7 (#39987)
This commit is contained in:
1 parent
6844f4009a
commit
ecf9d23752
18 files changed
+397
-167
No files matched your search
@@ -69,6 +69,7 @@ const AccountButtonsOther: FC<
|
||||
const dispatch = useAppDispatch();
|
||||
const handleNotifyToggle = useCallback(() => {
|
||||
if (account) {
|
||||
// @ts-expect-error this action is not typed yet
|
||||
dispatch(followAccount(account.id, { notify: !relationship?.notifying }));
|
||||
}
|
||||
}, [dispatch, account, relationship]);
|
||||
|
||||
@@ -395,6 +395,7 @@ function getMenuItems({
|
||||
),
|
||||
action: () => {
|
||||
dispatch(
|
||||
// @ts-expect-error this action is not typed yet
|
||||
followAccount(account.id, {
|
||||
reblogs: !relationship.showing_reblogs,
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user