mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor(site): inline single-use class string constant in AgentSetupNotice (#25086)
This commit is contained in:
@@ -9,9 +9,6 @@ import {
|
||||
DialogTitle,
|
||||
} from "#/components/Dialog/Dialog";
|
||||
|
||||
const agentSetupLinkClassName =
|
||||
"text-content-link transition-colors hover:text-content-link/80";
|
||||
|
||||
interface AgentSetupNoticeProps {
|
||||
providerCount: number;
|
||||
modelCount: number;
|
||||
@@ -95,7 +92,10 @@ const AgentSetupStep: FC<AgentSetupStepProps> = ({
|
||||
)}
|
||||
</span>
|
||||
<span className="text-content-secondary">{label}</span>
|
||||
<Link to={linkTo} className={agentSetupLinkClassName}>
|
||||
<Link
|
||||
to={linkTo}
|
||||
className="text-content-link transition-colors hover:text-content-link/80"
|
||||
>
|
||||
{linkText}
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user