Merge commit 'e3f0b955b8' into kbtopic-remove-quoteMerge

This commit is contained in:
KMY 2025-05-07 08:46:25 +09:00
commit 29b904483e
357 changed files with 1914 additions and 1355 deletions

View file

@ -39,9 +39,9 @@ export const NotificationMention: React.FC<{
unread: boolean;
}> = ({ notification, unread }) => {
const [isDirect, isReply] = useAppSelector((state) => {
const status = state.statuses.get(notification.statusId) as
| Status
| undefined;
const status = notification.statusId
? (state.statuses.get(notification.statusId) as Status | undefined)
: undefined;
if (!status) return [false, false] as const;