Refactor SubscriptionCard button for improved clarity
CI / Backend (build + test) (push) Successful in 1m13s
CI / Frontend (lint + typecheck + build) (push) Successful in 31s

- Removed unnecessary class from the copy button in the SubscriptionCard component, streamlining the code and enhancing readability.
This commit is contained in:
Leonid Pershin
2026-07-02 20:16:40 +03:00
parent 66d6584835
commit 012d08e737
@@ -33,7 +33,7 @@ export function SubscriptionCard() {
<QRCodeSVG value={data.subscriptionUrl} size={96} />
<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>
<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" />
{t('configs.copyLink')}
</Button>