comment fixes
This commit is contained in:
parent
951fd9a3f3
commit
ae1e3455e4
@ -8,6 +8,7 @@ import {
|
||||
BranchIcon,
|
||||
} from 'components/shared/CustomIcon';
|
||||
import { formatDistance } from 'date-fns';
|
||||
import { getInitials } from 'utils/geInitials';
|
||||
|
||||
interface ActivityCardProps {
|
||||
activity: GitCommitWithBranch;
|
||||
@ -30,7 +31,12 @@ const ActivityCard = ({ activity }: ActivityCardProps) => {
|
||||
className="p-3 gap-2 focus-within:ring-2 focus-within:ring-controls-primary/40 focus:outline-none rounded-xl transition-colors hover:bg-base-bg-alternate flex group"
|
||||
>
|
||||
<div>
|
||||
<Avatar size={36} imageSrc={activity.author?.avatar_url} />
|
||||
<Avatar
|
||||
type="orange"
|
||||
size={36}
|
||||
initials={getInitials(activity.commit.author?.name ?? '')}
|
||||
imageSrc={activity.author?.avatar_url}
|
||||
/>
|
||||
</div>
|
||||
<div className="flex-1">
|
||||
<span className="text-elements-high-em text-sm font-medium tracking-tight">
|
||||
|
@ -143,7 +143,6 @@ const OverviewTabPanel = () => {
|
||||
onClick={() => {
|
||||
navigate('settings/domains');
|
||||
}}
|
||||
// placeholder={''}
|
||||
>
|
||||
Setup
|
||||
</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user