Skip to content

Commit 3d5a974

Browse files
fix: Remove link to GitHub (#100)
1 parent 2dd91a5 commit 3d5a974

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/Dialogs/KubectlCommandInfo/KubectlBaseDialog.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
import { KubectlTerminal } from './KubectlTerminal';
1515
import { useState, useEffect, ReactNode } from 'react';
1616
import { useTranslation, Trans } from 'react-i18next';
17+
import { useFrontendConfig } from '../../../context/FrontendConfigContext.tsx';
1718

1819
export interface FormField {
1920
id: string;
@@ -46,6 +47,7 @@ export const KubectlBaseDialog = ({
4647
customCommands,
4748
}: KubectlBaseDialogProps) => {
4849
const { t } = useTranslation();
50+
const { links } = useFrontendConfig();
4951
const [formValues, setFormValues] = useState<Record<string, string>>({});
5052

5153
useEffect(() => {
@@ -164,10 +166,7 @@ export const KubectlBaseDialog = ({
164166
i18nKey="KubectlBaseDialog.onboardingGuide"
165167
components={{
166168
link1: (
167-
<Link
168-
href="https://pages.github.tools.sap/cloud-orchestration/docs/managed-control-planes/get-started/get-started-mcp"
169-
target="_blank"
170-
/>
169+
<Link href={links.COM_PAGE_GETTING_STARTED} target="_blank" />
171170
),
172171
}}
173172
/>

0 commit comments

Comments
 (0)