comment fixes
This commit is contained in:
parent
951fd9a3f3
commit
ae1e3455e4
@ -8,6 +8,7 @@ import {
|
|||||||
BranchIcon,
|
BranchIcon,
|
||||||
} from 'components/shared/CustomIcon';
|
} from 'components/shared/CustomIcon';
|
||||||
import { formatDistance } from 'date-fns';
|
import { formatDistance } from 'date-fns';
|
||||||
|
import { getInitials } from 'utils/geInitials';
|
||||||
|
|
||||||
interface ActivityCardProps {
|
interface ActivityCardProps {
|
||||||
activity: GitCommitWithBranch;
|
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"
|
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>
|
<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>
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
<span className="text-elements-high-em text-sm font-medium tracking-tight">
|
<span className="text-elements-high-em text-sm font-medium tracking-tight">
|
||||||
|
@ -143,7 +143,6 @@ const OverviewTabPanel = () => {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate('settings/domains');
|
navigate('settings/domains');
|
||||||
}}
|
}}
|
||||||
// placeholder={''}
|
|
||||||
>
|
>
|
||||||
Setup
|
Setup
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user