2023-02-28 18:56:29 +00:00
|
|
|
import { t } from '@vegaprotocol/i18n';
|
2022-11-22 10:52:31 +00:00
|
|
|
import {
|
|
|
|
DApp,
|
|
|
|
TOKEN_NEW_MARKET_PROPOSAL,
|
|
|
|
useLinks,
|
|
|
|
} from '@vegaprotocol/environment';
|
2023-02-28 18:56:29 +00:00
|
|
|
import { ProposalsList } from '@vegaprotocol/proposals';
|
2022-11-16 14:36:03 +00:00
|
|
|
import { ExternalLink } from '@vegaprotocol/ui-toolkit';
|
|
|
|
|
|
|
|
export const Proposed = () => {
|
2022-11-22 10:52:31 +00:00
|
|
|
const tokenLink = useLinks(DApp.Token);
|
|
|
|
const externalLink = tokenLink(TOKEN_NEW_MARKET_PROPOSAL);
|
2022-11-16 14:36:03 +00:00
|
|
|
return (
|
|
|
|
<>
|
2023-05-03 08:45:14 +00:00
|
|
|
<div className="min-h-[200px]">
|
|
|
|
<ProposalsList />
|
|
|
|
</div>
|
2022-11-17 08:49:29 +00:00
|
|
|
<ExternalLink className="py-4 px-[11px] text-sm" href={externalLink}>
|
2022-11-16 14:36:03 +00:00
|
|
|
{t('Propose a new market')}
|
|
|
|
</ExternalLink>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
};
|