Skip to content

Commit

Permalink
fix: reanimated warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Nov 13, 2024
1 parent b298f53 commit be0feae
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 93 deletions.
6 changes: 3 additions & 3 deletions examples/expo-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"@babel/preset-env": "^7.25.4",
"@expo/metro-runtime": "~4.0.0-preview.0",
"@expo/metro-runtime": "~4.0.0",
"@gorhom/bottom-sheet": "^5.0.5",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.2.0",
Expand All @@ -43,7 +43,7 @@
"@storybook/react-native-theming": "^8.4.3-alpha.0",
"@storybook/react-webpack5": "^8.4.2",
"@storybook/test": "^8.4.2",
"expo": "52.0.0-preview.21",
"expo": "~52.0.4",
"history": "^5.3.0",
"querystring": "^0.2.1",
"react": "18.3.1",
Expand All @@ -70,7 +70,7 @@
"babel-loader": "^9.1.3",
"babel-plugin-react-docgen-typescript": "^1.5.1",
"jest": "^29.7.0",
"jest-expo": "~52.0.0-preview.3",
"jest-expo": "~52.0.0",
"metro-react-native-babel-preset": "^0.77.0",
"typescript": "^5.3.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-ui/src/MobileAddonsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const MobileAddonsPanel = forwardRef<MobileAddonsPanelRef, { storyId?: st
return {
maxHeight: height - animatedPosition.value - insets.bottom,
};
}, [animatedPosition.value, height, insets.bottom]);
}, [animatedPosition, height, insets.bottom]);

return (
<BottomSheetModal
Expand Down
Loading

0 comments on commit be0feae

Please sign in to comment.