diff --git a/App.tsx b/App.tsx index ef7129a..0093817 100644 --- a/App.tsx +++ b/App.tsx @@ -7,8 +7,7 @@ import SettingsScreen from './screens/SettingsScreen'; import { QRCodeContext } from './types'; import CustomTabBar from './components/CustomTabBar'; -import { Button } from 'react-native'; -import { Authenticator, useAuthenticator, withAuthenticator } from '@aws-amplify/ui-react-native'; +import { withAuthenticator } from '@aws-amplify/ui-react-native'; import { Amplify } from 'aws-amplify'; import config from './src/aws-exports'; import { enableScreens } from 'react-native-screens'; @@ -17,11 +16,6 @@ enableScreens(); Amplify.configure(config); -function SignOutButton() { - const { signOut } = useAuthenticator(); - return