Skip to content

Commit

Permalink
코드 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
onting committed Aug 5, 2020
1 parent 5a5facc commit 7c48bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import AsyncStorage from '@react-native-community/async-storage';
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, View, Image, TouchableHighlight } from 'react-native';
import { StyleSheet, View, TouchableHighlight } from 'react-native';
import { Entypo, Octicons, AntDesign } from '@expo/vector-icons';
import { NavigationContainer } from '@react-navigation/native';
import LoginView from './compo/loginview';
Expand Down Expand Up @@ -63,7 +63,7 @@ export default function App() {

return (
<NavigationContainer>
{!logined ? <MainView /> : <LoginView onLogin={loginCheck} />}
{logined ? <MainView /> : <LoginView onLogin={loginCheck} />}
<StatusBar style="auto" />
</NavigationContainer>
);
Expand Down

0 comments on commit 7c48bd8

Please sign in to comment.