Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tugbadogan committed Jun 3, 2021
1 parent b434435 commit 0ac0c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/Navigation/AppNavigator/MainDrawerNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const MainDrawerNavigator = (props) => {
<Drawer.Navigator
openByDefault={props.isSmallScreenWidth}
sceneContainerStyle={styles.navigationSceneContainer}
drawerContent={(props) => <SidebarScreen {...props} />}
// eslint-disable-next-line react/jsx-props-no-spreading
drawerContent={() => <SidebarScreen />}
screenOptions={{
cardStyle: styles.navigationScreenCardStyle,
headerShown: false,
Expand All @@ -63,7 +64,6 @@ const MainDrawerNavigator = (props) => {
props.isSmallScreenWidth,
),
swipeEdgeWidth: 500,
swipeEnabled: true,
}}
>
<Drawer.Screen
Expand Down

0 comments on commit 0ac0c70

Please sign in to comment.