Files
grafana/public/app/features/migrate-to-cloud/cloud/TokenErrorAlert.tsx
Josh Hunt ffb5d23a13 E2C: Hook Cloud Receiver-side up to real CreateCloudMigrationToken API (#85490)
E2C: Hook Cloud Reciever-side up to real CreateCloudMigrationToken API
2024-04-03 08:55:38 +00:00

15 lines
455 B
TypeScript

import React from 'react';
import { Alert } from '@grafana/ui';
import { Trans, t } from 'app/core/internationalization';
export function TokenErrorAlert() {
return (
<Alert severity="error" title={t('migrate-to-cloud.migration-token.error-title', 'Something went wrong')}>
<Trans i18nKey="migrate-to-cloud.migration-token.error-body">
Unable to generate a migration token. Please try again later.
</Trans>
</Alert>
);
}