Wizard: Update docs after move to new preview

`/preview` is no longer used in url.
This commit is contained in:
regexowl 2024-08-01 12:25:56 +02:00 committed by Klara Simickova
parent 37dfe8584c
commit 933e65d590
7 changed files with 8 additions and 30 deletions

View file

@ -6,11 +6,8 @@ import { ExternalLinkAltIcon } from '@patternfly/react-icons';
import Snapshot from './Snapshot';
import { CONTENT_URL } from '../../../../constants';
import { useGetEnvironment } from '../../../../Utilities/useGetEnvironment';
import { betaPath } from '../../utilities/betaPath';
export default function SnapshotStep() {
const { isBeta } = useGetEnvironment();
return (
<Form>
<Title headingLevel="h1" size="xl">
@ -28,7 +25,7 @@ export default function SnapshotStep() {
iconPosition="right"
isInline
icon={<ExternalLinkAltIcon />}
href={betaPath(CONTENT_URL, isBeta())}
href={CONTENT_URL}
>
Create and manage repositories here
</Button>