Commit Graph

4 Commits

Author SHA1 Message Date
pezkuwichain f35b495394 fix(lint): expand eslint ignores for cjs and sdk_docs files 2025-12-11 03:08:08 +03:00
pezkuwichain 47ea12d0de 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
2025-12-11 01:45:13 +03:00
pezkuwichain 4140b28f48 fix: disable react-refresh warnings for UI components and contexts
## Changes
- Add ESLint override for src/components/ui/** files
- Add ESLint override for src/contexts/** files
- Add ESLint override for theme-provider.tsx
- Turn off react-refresh/only-export-components for these files

## Impact
- Reduced warnings from 24 → 8
- All fast-refresh warnings eliminated
- Remaining 8 warnings are exhaustive-deps (non-critical)

**Rationale**: UI library components (shadcn/ui) and context providers
legitimately export utility functions alongside components. This is a
standard pattern and doesn't affect hot module replacement in practice.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 18:53:04 +03:00
pezkuwichain a7c8d00afe chore(project): Update dependencies, vite config, and clean up repository 2025-11-19 18:45:00 +03:00