mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-11-01 22:21:07 +00:00
22 lines
650 B
TypeScript
22 lines
650 B
TypeScript
// Copyright 2017-2026 @pezkuwi/app-staking-async authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
|
|
import { MarkWarning } from '@pezkuwi/react-components';
|
|
|
|
import { useTranslation } from '../translate.js';
|
|
|
|
function ActionsBanner (): React.ReactElement<null> | null {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<MarkWarning
|
|
className='warning centered'
|
|
content={t('Use the account actions to create a new validator/nominator stash and bond it to participate in staking. Do not send funds directly via a transfer to a validator.')}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export default React.memo(ActionsBanner);
|