Refactor SubscriptionCard button for improved clarity
- Removed unnecessary class from the copy button in the SubscriptionCard component, streamlining the code and enhancing readability.
This commit is contained in:
@@ -33,7 +33,7 @@ export function SubscriptionCard() {
|
|||||||
<QRCodeSVG value={data.subscriptionUrl} size={96} />
|
<QRCodeSVG value={data.subscriptionUrl} size={96} />
|
||||||
<div className="flex min-w-0 flex-1 flex-col gap-2">
|
<div className="flex min-w-0 flex-1 flex-col gap-2">
|
||||||
<code className="truncate rounded-md bg-muted px-2 py-1.5 text-xs">{data.subscriptionUrl}</code>
|
<code className="truncate rounded-md bg-muted px-2 py-1.5 text-xs">{data.subscriptionUrl}</code>
|
||||||
<Button size="sm" variant="outline" className="self-start" onClick={() => void copy()}>
|
<Button size="sm" variant="outline" onClick={() => void copy()}>
|
||||||
<Copy className="h-4 w-4" />
|
<Copy className="h-4 w-4" />
|
||||||
{t('configs.copyLink')}
|
{t('configs.copyLink')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user