Untitled
unknown
plain_text
a year ago
892 B
2
Indexable
Never
import React from "react"; import { StyleSheet } from "react-native"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { GestureHandlerRootView } from "react-native-gesture-handler"; import { SafeAreaProvider } from "react-native-safe-area-context"; import { Router } from "./routes"; import { ReportBackProvider } from "./context/ReportBackProvider"; import "./themes"; import "./translations"; const queryClient = new QueryClient(); function App() { return ( <SafeAreaProvider> <GestureHandlerRootView style={styles.flex}> <QueryClientProvider client={queryClient}> <ReportBackProvider> <Router /> </ReportBackProvider> </QueryClientProvider> </GestureHandlerRootView> </SafeAreaProvider> ); } const styles = StyleSheet.create({ flex: { flex: 1, }, }); export default App;