diff --git a/package.json b/package.json index 4d75465..c3d3b51 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "react-native-gesture-handler": "^1.10.3", "react-native-reanimated": "^2.3.2", "react-native-svg": "^12.1.1", - "react-test-renderer": "16.13.1", + "react-test-renderer": "17.0.2", "typescript": "^4.7.4" }, "resolutions": { diff --git a/src/hooks/useAnimatedValue.ts b/src/hooks/useAnimatedValue.ts index 8b56ffb..2ce5b22 100644 --- a/src/hooks/useAnimatedValue.ts +++ b/src/hooks/useAnimatedValue.ts @@ -145,7 +145,7 @@ export default function useAnimatedValue({ } return config; }, - [], + [maxValue], createAnimatedPropAdapter( props => { if (Object.keys(props).includes('stroke')) {