diff --git a/front/views/AuthenticationView.tsx b/front/views/AuthenticationView.tsx index 1091191..89d630c 100644 --- a/front/views/AuthenticationView.tsx +++ b/front/views/AuthenticationView.tsx @@ -9,7 +9,7 @@ const AuthenticationView = () => { return (
{translate('welcome')} -
diff --git a/front/views/HomeView.tsx b/front/views/HomeView.tsx index d17afb2..3d542ef 100644 --- a/front/views/HomeView.tsx +++ b/front/views/HomeView.tsx @@ -1,35 +1,34 @@ import { useNavigation } from "@react-navigation/native"; import React from "react"; -import { View } from 'react-native'; -import { Button, Text } from "react-native-paper"; +import { Center, Button, Text } from "native-base"; import { useDispatch, useSelector } from "react-redux"; import { AvailableLanguages, DefaultLanguage, translate } from "../i18n/i18n"; import { useLanguage } from "../state/LanguageSlice"; import { unsetUserToken } from "../state/UserSlice"; const HomeView = () => { - const dispatch = useDispatch(); - const navigation = useNavigation(); - const language: AvailableLanguages = useSelector((state) => state.language.value); - return ( - - This is the Home Screen - - - - Current language: { language } - - ); + const dispatch = useDispatch(); + const navigation = useNavigation(); + const language: AvailableLanguages = useSelector((state) => state.language.value); + return ( +
+ This is the Home Screen + + + + Current language: {language} +
+ ); } export default HomeView;