From a3a3e09994edce0253304c3d31214d2d6f171581 Mon Sep 17 00:00:00 2001 From: vidvidvid Date: Wed, 8 Jan 2025 21:58:27 +0100 Subject: [PATCH] update confirm dialog, remove auto vote --- .../ui/app/veion/governance/vote/page.tsx | 16 ------- .../components/veion/EmissionsManagement.tsx | 20 +-------- .../veion/EmissionsManagementFooter.tsx | 21 +--------- .../veion/VoteConfirmationDialog.tsx | 42 +++++++++++++------ .../ui/context/EmissionsManagementContext.tsx | 4 -- 5 files changed, 31 insertions(+), 72 deletions(-) diff --git a/packages/ui/app/veion/governance/vote/page.tsx b/packages/ui/app/veion/governance/vote/page.tsx index 4545deb580..34f015dfd9 100644 --- a/packages/ui/app/veion/governance/vote/page.tsx +++ b/packages/ui/app/veion/governance/vote/page.tsx @@ -25,8 +25,6 @@ const Vote: React.FC = () => { const initialId = searchParams.get('id') || lockedData[0].id; const [showPendingOnly, setShowPendingOnly] = useState(false); - const [showAutoOnly, setShowAutoOnly] = useState(false); - const { currentChain } = useVeIONContext(); const selectedData = useMemo( () => lockedData.find((item) => item.id === initialId), @@ -97,19 +95,6 @@ const Vote: React.FC = () => { Emissions Management
- -