fix(frontend): Удален index.tsx
This commit is contained in:
@ -1,21 +0,0 @@
|
||||
import { FC, useEffect } from "react";
|
||||
import { Text } from "react-native";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
|
||||
const Page: FC = () => {
|
||||
useEffect(() => {
|
||||
fetch(`${process.env.EXPO_PUBLIC_API_BASE_URL}/`).then(r => r.text()).then(console.log)
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<SafeAreaView className="flex-1 items-center justify-center bg-gray-900">
|
||||
<StatusBar style="light" />
|
||||
<Text className="text-xl font-bold text-gray-100">
|
||||
Welcome to p1ctos4ve!
|
||||
</Text>
|
||||
</SafeAreaView>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
Reference in New Issue
Block a user