Skip to content

Commit

Permalink
refactor: AggregatedNotificationTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Jun 25, 2024
1 parent 046f0cc commit 4a97862
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,18 @@ const AggregatedNotificationTitle: FC<AggregatedNotificationTitleProps> = ({
type
}) => {
return (
<div className="font bold">
<div>
<NotificationProfileName profile={firstProfile} />
<span> {text} </span>
<span>
{type ? (
<Link
className="outline-none hover:underline focus:underline"
href={linkToType}
onClick={stopEventPropagation}
>
{type.toLowerCase()}
</Link>
) : null}
</span>
{type && (
<Link
className="outline-none hover:underline focus:underline"
href={linkToType}
onClick={stopEventPropagation}
>
{type.toLowerCase()}
</Link>
)}
</div>
);
};
Expand Down

1 comment on commit 4a97862

@vercel
Copy link

@vercel vercel bot commented on 4a97862 Jun 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

web-heyxyz.vercel.app
web-git-main-heyxyz.vercel.app
hey.xyz
heyxyz.vercel.app

Please sign in to comment.