Skip to content

Commit

Permalink
inherit className in Swap for h3
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec committed Aug 14, 2024
1 parent 819c04d commit 2bc1627
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/swap/components/Swap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ export function Swap({
data-testid="ockSwap_Container"
>
<div className="mb-4 flex items-center justify-between">
<h3 className={text.title3} data-testid="ockSwap_Title">
<h3
className={cn(text.title3, 'text-inherit')}
data-testid="ockSwap_Title"
>
{title}
</h3>
<div className="flex justify-end">{swapSettings}</div>
Expand Down

0 comments on commit 2bc1627

Please sign in to comment.