From 9996d8f36cf91a7e9932961cbf0c178a62aa14d3 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Thu, 19 May 2022 00:59:16 +0100 Subject: remove notes --- App.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'App.js') diff --git a/App.js b/App.js index 1163cbe..c74c19c 100644 --- a/App.js +++ b/App.js @@ -1,5 +1,5 @@ import { StatusBar } from 'expo-status-bar'; -import { StyleSheet, View, Text } from 'react-native'; +import { StyleSheet, SafeAreaView, Text } from 'react-native'; import { useState, useEffect } from 'react'; import AsyncStorage from '@react-native-async-storage/async-storage'; import { Login, List, Edit } from './components' @@ -39,19 +39,19 @@ export default function App() { }, []); if (error) return ( - + {error} - + ) if (session === undefined) return ( - + Loading... - + ); return ( - + { session === null ? @@ -73,7 +73,7 @@ export default function App() { ) } - + ); }; @@ -81,7 +81,7 @@ const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#000', - height: '100%', + // height: '100%', }, error: { color: 'red', -- cgit v1.2.3