import {motion} from 'framer-motion'; import LoadingIndicator from 'sentry/components/loadingIndicator'; import {IconFile} from 'sentry/icons/iconFile'; import {t} from 'sentry/locale'; import testableTransition from 'sentry/utils/testableTransition'; import ContinueButton from 'sentry/views/relocation/components/continueButton'; import RelocationCodeBlock from 'sentry/views/relocation/components/relocationCodeBlock'; import StepHeading from 'sentry/views/relocation/components/stepHeading'; import Wrapper from 'sentry/views/relocation/components/wrapper'; import type {StepProps} from './types'; export function PublicKey({publicKeys, relocationState, onComplete}: StepProps) { const {regionUrl} = relocationState; const publicKey = publicKeys.get(regionUrl); const handleContinue = (event: any) => { event.preventDefault(); onComplete(); }; return ( {t("Save Sentry's public key to your machine")} {publicKey ? (

{t( "To do so, you'll need to save the following public key to a file accessible from wherever your self-hosted repository is currently installed. You'll need to have this public key file available for the next step." )}

} hideCopyButton={false} > {publicKey}
) : ( )}
); } export default PublicKey;