chore: use Heading component

This commit is contained in:
Sushan Yadav 2024-02-28 13:29:04 +05:45
parent 6b948d47e8
commit c57bf61b37

View File

@ -12,6 +12,7 @@ import { GitCommitWithBranch, OutletContextType } from '../../../../types';
import { useGQLClient } from '../../../../context/GQLClientContext'; import { useGQLClient } from '../../../../context/GQLClientContext';
import { formatAddress } from '../../../../utils/format'; import { formatAddress } from '../../../../utils/format';
import { Button } from 'components/shared/Button'; import { Button } from 'components/shared/Button';
import { Heading } from 'components/shared/Heading';
const COMMITS_PER_PAGE = 4; const COMMITS_PER_PAGE = 4;
@ -175,9 +176,7 @@ const OverviewTabPanel = () => {
</div> </div>
<div className="col-span-2 mr-1"> <div className="col-span-2 mr-1">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<h2 className="text-lg leading-6 font-medium text-elements-high-em"> <Heading className="text-lg leading-6 font-medium">Activity</Heading>
Activity
</h2>
<Button variant="tertiary" size="sm"> <Button variant="tertiary" size="sm">
See all See all
</Button> </Button>