mirror of
https://github.com/standardnotes/mobile.git
synced 2026-05-19 03:54:30 -04:00
Update src/components/BottomSheet.tsx
Co-authored-by: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1210efc159
commit
b2fbaafebe
@@ -335,10 +335,7 @@ export const BottomSheet: React.FC<Props> = ({
|
||||
setListHeight(e.nativeEvent.layout.height);
|
||||
};
|
||||
|
||||
const contentHeight = useMemo(() => titleHeight + listHeight, [
|
||||
titleHeight,
|
||||
listHeight,
|
||||
]);
|
||||
const contentHeight = titleHeight + listHeight;
|
||||
|
||||
const snapPoints = useMemo(() => {
|
||||
const screenHeight = Dimensions.get('window').height;
|
||||
|
||||
Reference in New Issue
Block a user