import { CheckBadgeIcon } from "@heroicons/react/24/solid";
import getAccount from "@hey/helpers/getAccount";
import getAvatar from "@hey/helpers/getAvatar";
import type { AccountFragment } from "@hey/indexer";
import { memo } from "react";
import AccountLink from "@/components/Shared/Account/AccountLink";
import AccountPreview from "@/components/Shared/Account/AccountPreview";
import { Image } from "@/components/Shared/UI";
import stopEventPropagation from "@/helpers/stopEventPropagation";
interface NotificationAccountProps {
account: AccountFragment;
}
export const NotificationAccountAvatar = memo(
({ account }: NotificationAccountProps) => {
return (
);
}
);
export const NotificationAccountName = memo(
({ account }: NotificationAccountProps) => {
return (
{getAccount(account).name}
{account.hasSubscribed && (
)}
);
}
);