* feat(#500): mute price decimal places * feat(colors): remove alpha chanel from shades of gray * feat(colors): simplify intent colors * feat(colors): fix intent mapping * feat(colors): fix lint issues * feat(colors): fix lint issues
15 lines
427 B
TypeScript
15 lines
427 B
TypeScript
import { Callout, Intent } from '@vegaprotocol/ui-toolkit';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { AddLockedTokenAddress } from '../../components/add-locked-token';
|
|
|
|
export const CodeUsed = () => {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<Callout intent={Intent.Warning} iconName="error" title={t('codeUsed')}>
|
|
<p>{t('codeUsedText')}</p>
|
|
<AddLockedTokenAddress />
|
|
</Callout>
|
|
);
|
|
};
|