/ src / components / transactions / Warnings / AAVEWarning.tsx
AAVEWarning.tsx
 1  import { Trans } from '@lingui/macro';
 2  import { Link, Typography } from '@mui/material';
 3  
 4  import { ROUTES } from '../../primitives/Link';
 5  import { Warning } from '../../primitives/Warning';
 6  
 7  export const AAVEWarning = () => {
 8    return (
 9      <Warning severity="info">
10        <Typography>
11          <Trans>Supplying your </Trans> AAVE{' '}
12          <Trans>tokens is not the same as staking them. If you wish to stake your </Trans> AAVE{' '}
13          <Trans>tokens, please go to the </Trans>{' '}
14          <Link href={ROUTES.staking}>
15            <Trans>staking view</Trans>
16          </Link>
17        </Typography>
18      </Warning>
19    );
20  };