Skip to content

Commit

Permalink
fix(tangle-dapp): Capitalize
Browse files Browse the repository at this point in the history
  • Loading branch information
yurixander committed Dec 19, 2024
1 parent c25a693 commit 3c31154
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/tangle-dapp/src/components/HowItWorks/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const HowItWorks = forwardRef<HTMLDivElement, HowItWorksProps>(
ref={ref}
>
<Typography variant="body1" fw="bold">
How it works
How It Works
</Typography>

<div>{children}</div>
Expand Down
11 changes: 7 additions & 4 deletions apps/tangle-dapp/src/pages/restake/overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { twMerge } from 'tailwind-merge';
import StatItem from '../../../components/StatItem';
import { CONTENT } from './shared';
import TableTabs from './TableTabs';
import { ArrowRightUp, ExternalLinkLine } from '@webb-tools/icons';

export default function RestakePage() {
const { delegatorInfo } = useRestakeDelegatorInfo();
Expand Down Expand Up @@ -61,7 +62,7 @@ export default function RestakePage() {
variant={CardVariant.GLASS}
className={twMerge(
'min-h-60 flex-1',
'md:max-w-[442px] justify-between',
'md:max-w-[442px] flex flex-col justify-between',
)}
>
<div>
Expand All @@ -70,7 +71,7 @@ export default function RestakePage() {
fw="bold"
className="text-mono-200 dark:text-mono-0 mb-2.5"
>
How it works
How It Works
</Typography>

<Typography variant="body1">{CONTENT.HOW_IT_WORKS}</Typography>
Expand All @@ -81,9 +82,11 @@ export default function RestakePage() {
target="_blank"
variant="link"
size="sm"
className="inline-block ml-auto"
rightIcon={
<ArrowRightUp className="fill-current dark:fill-current" />
}
>
Read more
Learn More
</Button>
</Card>
</div>
Expand Down

0 comments on commit 3c31154

Please sign in to comment.