Skip to content

Commit

Permalink
update book info prop
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahluo888 committed Feb 24, 2024
1 parent d7102df commit 891ac32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile/Components/BookInfoTabs/BookInfoTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Dimensions from "../../Constants/Dimensions";

const Tab = createMaterialTopTabNavigator();

function MyTabBar({ state, descriptors, navigation, position, bookInfo }) {
function MyTabBar({ state, descriptors, navigation, position }) {
return (
<View>
<ScrollView
Expand Down Expand Up @@ -162,7 +162,7 @@ function BookInfoTabs(bookInfo: any) {
return (
<Tab.Navigator
screenOptions={{ animationEnabled: false }}
tabBar={(props) => <MyTabBar bookInfo={bookInfo} {...props} />}
tabBar={(props) => <MyTabBar {...props} />}
>
<Tab.Screen
name="Description"
Expand Down

0 comments on commit 891ac32

Please sign in to comment.