From cea1ab50b1f197f9d719b8c59856f7b826e9ec18 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Feb 2026 17:26:22 +0000 Subject: [PATCH] fix: resolve build errors by installing deps and fixing lint warnings All 3,016 TypeScript errors were caused by missing node_modules (dependencies not installed). After npm install, fixed remaining lint warnings: duplicate react-native import, Array syntax, and suppressed intentional useEffect dep. https://claude.ai/code/session_017rsjCBTqJkzoTRcL7YXthq --- app/(tabs)/receive.tsx | 1 + app/wallet-setup.tsx | 2 +- components/AnimatedNumber.tsx | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/(tabs)/receive.tsx b/app/(tabs)/receive.tsx index 3fe45c6..dd63a95 100644 --- a/app/(tabs)/receive.tsx +++ b/app/(tabs)/receive.tsx @@ -124,6 +124,7 @@ function ReceiveScreenContent({ walletContext }: { walletContext: ReturnType = ['generateMnemonic', 'validateMnemonic', 'createWallet', 'importWallet']; + const requiredFunctions: (keyof WalletService)[] = ['generateMnemonic', 'validateMnemonic', 'createWallet', 'importWallet']; const missingFunctions = requiredFunctions.filter(func => typeof walletService[func] !== 'function'); if (missingFunctions.length > 0) { diff --git a/components/AnimatedNumber.tsx b/components/AnimatedNumber.tsx index 631c636..7b8b918 100644 --- a/components/AnimatedNumber.tsx +++ b/components/AnimatedNumber.tsx @@ -1,5 +1,5 @@ import React, { useEffect } from 'react'; -import { StyleProp, TextStyle } from 'react-native'; +import { StyleProp, TextInput, TextStyle } from 'react-native'; import Animated, { useAnimatedStyle, useSharedValue, @@ -7,7 +7,6 @@ import Animated, { withTiming, useAnimatedProps, } from 'react-native-reanimated'; -import { TextInput } from 'react-native'; const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);