From 39f7f7764da3653e7d915c521ea1b296a787c445 Mon Sep 17 00:00:00 2001 From: James Pepper <84083764+jamespepper81@users.noreply.github.com> Date: Mon, 23 Feb 2026 17:54:05 +0000 Subject: [PATCH 1/4] Clarify useEffect dependencies in receive.tsx Add comment to clarify dependency omission in useEffect. --- app/(tabs)/receive.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(tabs)/receive.tsx b/app/(tabs)/receive.tsx index dd63a95..1f1a81f 100644 --- a/app/(tabs)/receive.tsx +++ b/app/(tabs)/receive.tsx @@ -125,7 +125,7 @@ function ReceiveScreenContent({ walletContext }: { walletContext: ReturnType { @@ -550,4 +550,4 @@ const styles = StyleSheet.create({ textAlign: 'center', letterSpacing: 0.2, }, -}); \ No newline at end of file +}); From b49df58622d824be75906d90a76b3d56da924d95 Mon Sep 17 00:00:00 2001 From: James Pepper <84083764+jamespepper81@users.noreply.github.com> Date: Mon, 23 Feb 2026 17:55:38 +0000 Subject: [PATCH 2/4] Change type annotation for requiredFunctions array --- app/wallet-setup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/wallet-setup.tsx b/app/wallet-setup.tsx index 5a00f2c..3f8c54a 100644 --- a/app/wallet-setup.tsx +++ b/app/wallet-setup.tsx @@ -57,7 +57,7 @@ try { }; // Verify all required functions are available - const requiredFunctions: (keyof WalletService)[] = ['generateMnemonic', 'validateMnemonic', 'createWallet', 'importWallet']; + const requiredFunctions: Array = ['generateMnemonic', 'validateMnemonic', 'createWallet', 'importWallet']; const missingFunctions = requiredFunctions.filter(func => typeof walletService[func] !== 'function'); if (missingFunctions.length > 0) { @@ -1428,4 +1428,4 @@ const styles = StyleSheet.create({ fontSize: 13, lineHeight: 18, }, -}); \ No newline at end of file +}); From 8cbb5c84c7799f167046898018c75990c075507a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:00:15 +0000 Subject: [PATCH 3/4] Initial plan From c6949280c6174ac11b7deb601a7e0c60526a329c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:02:41 +0000 Subject: [PATCH 4/4] fix(AnimatedNumber): remove stable shared value refs from dep arrays and invalid defaultValue prop Co-authored-by: jamespepper81 <84083764+jamespepper81@users.noreply.github.com> --- components/AnimatedNumber.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/AnimatedNumber.tsx b/components/AnimatedNumber.tsx index 7b8b918..5093fa5 100644 --- a/components/AnimatedNumber.tsx +++ b/components/AnimatedNumber.tsx @@ -36,7 +36,8 @@ export default function AnimatedNumber({ useEffect(() => { animatedValue.value = withTiming(value, { duration }); - }, [value, duration, animatedValue]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [value, duration]); // animatedValue is a stable shared value ref and should not be in deps // Scale animation on value change for emphasis const scale = useSharedValue(1); @@ -45,7 +46,8 @@ export default function AnimatedNumber({ scale.value = withSpring(1.02, { damping: 8, stiffness: 300 }, () => { scale.value = withSpring(1, { damping: 15, stiffness: 400 }); }); - }, [value, scale]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [value]); // scale is a stable shared value ref and should not be in deps const animatedStyle = useAnimatedStyle(() => ({ transform: [{ scale: scale.value }], @@ -57,7 +59,6 @@ export default function AnimatedNumber({ const text = `${prefix}${format(animatedValue.value)}${suffix}`; return { text, - defaultValue: text, }; });