From 6e986b10c441ac91994ae6d6e45ff18c60f7fc10 Mon Sep 17 00:00:00 2001 From: aadil42 <77232799+aadil42@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:58:16 +0530 Subject: [PATCH] Update UserScreen.js Since we're not using draw-navigation, we should remove openDrawerHandler function. Therefore, I have removed it. --- .../screens/UserScreen.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/14-adding-configuring-using-bottom-tabs/screens/UserScreen.js b/code/14-adding-configuring-using-bottom-tabs/screens/UserScreen.js index 79410d9..26e07be 100644 --- a/code/14-adding-configuring-using-bottom-tabs/screens/UserScreen.js +++ b/code/14-adding-configuring-using-bottom-tabs/screens/UserScreen.js @@ -1,16 +1,13 @@ import { View, Text, Button, StyleSheet } from 'react-native'; function UserScreen({navigation}) { - function openDrawerHandler() { - navigation.toggleDrawer(); - } return ( This is the "User" screen! -