feat: Add support for Slack reaction and message notifications
This commit is contained in:
@@ -2,12 +2,12 @@ import { GoogleMailThreadListItem } from "./GoogleMailThreadListItem";
|
||||
import { NotificationListItemProps } from "../../../notification";
|
||||
|
||||
export function GoogleMailNotificationListItem({ notification, mutate }: NotificationListItemProps) {
|
||||
if (notification.metadata.type !== "GoogleMail") return null;
|
||||
if (notification.source_item.data.type !== "GoogleMailThread") return null;
|
||||
|
||||
return (
|
||||
<GoogleMailThreadListItem
|
||||
notification={notification}
|
||||
googleMailThread={notification.metadata.content}
|
||||
googleMailThread={notification.source_item.data.content}
|
||||
mutate={mutate}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user