mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
15 lines
455 B
TypeScript
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>
|
|
);
|
|
}
|