mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 22:57:55 +00:00
feat(governance): implement real blockchain data for governance section
- Update ElectionsInterface to fetch real elections from welati pallet - Add MyVotes component for user voting history (proposals, elections, delegations) - Add GovernanceHistory component for completed elections and proposals - Integrate DelegationManager into GovernanceInterface delegation tab - Fix linter errors across multiple files (unused imports, type annotations) - Update eslint.config.js to ignore SDK docs and CJS files
This commit is contained in:
@@ -20,11 +20,6 @@ import {
|
||||
Loader2,
|
||||
AlertCircle,
|
||||
Download,
|
||||
Upload,
|
||||
Send,
|
||||
Link2,
|
||||
Coins,
|
||||
TestTube,
|
||||
ChevronRight,
|
||||
} from 'lucide-react';
|
||||
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card';
|
||||
@@ -61,7 +56,7 @@ interface XCMConfigurationWizardProps {
|
||||
|
||||
interface StepStatus {
|
||||
completed: boolean;
|
||||
data?: any;
|
||||
data?: unknown;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user