diff --git a/native/user-profile/user-profile-bottom-sheet.react.js b/native/user-profile/user-profile-bottom-sheet.react.js index 73699a994..bf21c0760 100644 --- a/native/user-profile/user-profile-bottom-sheet.react.js +++ b/native/user-profile/user-profile-bottom-sheet.react.js @@ -1,45 +1,43 @@ // @flow import * as React from 'react'; import type { UserInfo } from 'lib/types/user-types'; import UserProfile from './user-profile.react.js'; import BottomSheet from '../bottom-sheet/bottom-sheet.react.js'; import type { RootNavigationProp } from '../navigation/root-navigator.react.js'; import type { NavigationRoute } from '../navigation/route-names.js'; import { useSelector } from '../redux/redux-utils.js'; export type UserProfileBottomSheetParams = { +userID: string, }; type Props = { +navigation: RootNavigationProp<'UserProfileBottomSheet'>, +route: NavigationRoute<'UserProfileBottomSheet'>, }; function UserProfileBottomSheet(props: Props): React.Node { const { navigation, route: { params: { userID }, }, } = props; const { goBack } = navigation; const userInfo: ?UserInfo = useSelector( state => state.userStore.userInfos[userID], ); - const bottomSheetRef = React.useRef(); - return ( - + ); } export default UserProfileBottomSheet;