diff --git a/src/app/proposals/page.tsx b/src/app/proposals/page.tsx index 68ef2629..8050645e 100644 --- a/src/app/proposals/page.tsx +++ b/src/app/proposals/page.tsx @@ -5,14 +5,15 @@ import { LatestProposalsTable } from '@/app/proposals/LatestProposalsTable' import { MainContainer } from '@/components/MainContainer/MainContainer' import { MetricsCard } from '@/components/MetricsCard' import { Popover } from '@/components/Popover' +import { TxStatusMessage } from '@/components/TxStatusMessage/TxStatusMessage' +import { Paragraph, Span } from '@/components/Typography' import { toFixed } from '@/lib/utils' +import { useRouter } from 'next/navigation' import { FaRegQuestionCircle } from 'react-icons/fa' import { useVotingPower } from './hooks/useVotingPower' -import { TxStatusMessage } from '@/components/TxStatusMessage/TxStatusMessage' export default function Proposals() { const { votingPower, canCreateProposal, threshold } = useVotingPower() - const { latestProposals } = useFetchLatestProposals() return ( @@ -39,21 +40,32 @@ export default function Proposals() { ) } -const PopoverContent = () => ( - <> -
How is my voting power calculated?
-- Your voting power is calculated as the number of tokens (votes) that have been delegated to you before - the proposal became active. You can delegate your votes to yourself, or to someone else. Others can also - delegate their votes to you. -
- > -) +const PopoverContent = () => { + const router = useRouter() + return ( + <> +Congratulations and thank you for staking your RIF in the Collective.>, + description: 'Congratulations and thank you for staking your RIF in the Collective.', }, UNSTAKE: { modalTitle: 'UNSTAKE ',