mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-18 09:11:03 +00:00
Fix all ESLint errors in mobile app (157 errors -> 0)
Major fixes: - Replace `any` types with proper TypeScript types across all files - Convert require() imports to ES module imports - Add __DEV__ guards to console statements - Escape special characters in JSX (' and ") - Fix unused variables (prefix with _ or remove) - Fix React hooks violations (useCallback, useMemo patterns) - Convert wasm-crypto-shim.js to TypeScript - Add eslint-disable comments for valid setState patterns Files affected: 50+ screens, components, contexts, and services Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,8 +17,6 @@ import { usePezkuwi } from '../contexts/PezkuwiContext';
|
||||
import {
|
||||
fetchUserTikiNFTs,
|
||||
getCitizenNFTDetails,
|
||||
getTikiDisplayName,
|
||||
getTikiEmoji,
|
||||
ROLE_CATEGORIES,
|
||||
type TikiNFTDetails,
|
||||
} from '../../shared/lib/tiki';
|
||||
@@ -223,7 +221,7 @@ const IdentityScreen: React.FC = () => {
|
||||
<Text style={styles.notCitizenIcon}>⚠️</Text>
|
||||
<Text style={styles.notCitizenTitle}>Citizenship Not Found</Text>
|
||||
<Text style={styles.notCitizenText}>
|
||||
We couldn't find a Welati (citizen) NFT for this wallet.
|
||||
We couldn't find a Welati (citizen) NFT for this wallet.
|
||||
Please apply for citizenship to get your digital identity.
|
||||
</Text>
|
||||
<TouchableOpacity
|
||||
|
||||
Reference in New Issue
Block a user