mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-19 03:41:02 +00:00
feat(mobile): Enable shared/lib imports via symlink for production blockchain integration
- Create symlink mobile/shared -> ../shared for Metro bundler access - Update all @pezkuwi/lib/* imports to use relative paths (../../shared/lib/*) - Dashboard Roles card now fetches real tiki data from blockchain - Staking screen uses production getStakingInfo and getAllScores - All citizenship, referral, and NFT screens use real blockchain queries Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,9 +18,9 @@ import {
|
||||
ValidatorSelectionSheet,
|
||||
CardSkeleton,
|
||||
} from '../components';
|
||||
import { getStakingInfo } from '@pezkuwi/lib/staking';
|
||||
import { getAllScores } from '@pezkuwi/lib/scores';
|
||||
import { formatBalance } from '@pezkuwi/lib/wallet';
|
||||
import { getStakingInfo } from '../../shared/lib/staking';
|
||||
import { getAllScores } from '../../shared/lib/scores';
|
||||
import { formatBalance } from '../../shared/lib/wallet';
|
||||
|
||||
// Helper types derived from shared lib
|
||||
interface StakingScreenData {
|
||||
|
||||
Reference in New Issue
Block a user