Update expo project to use stuff its gonna use
This commit is contained in:
@@ -2,14 +2,21 @@ import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native
|
||||
import { Stack } from 'expo-router';
|
||||
import { StatusBar } from 'expo-status-bar';
|
||||
import 'react-native-reanimated';
|
||||
|
||||
import * as Sentry from '@sentry/react-native';
|
||||
import { useColorScheme } from '@/hooks/use-color-scheme';
|
||||
|
||||
Sentry.init({
|
||||
dsn: 'https://ff2e19b7c72ee50463c6c66b5bef7ce0@sentry.gbrown.org/8',
|
||||
sendDefaultPii: true,
|
||||
tracesSampleRate: 1.0,
|
||||
profilesSampleRate: 1.0,
|
||||
});
|
||||
|
||||
export const unstable_settings = {
|
||||
anchor: '(tabs)',
|
||||
};
|
||||
|
||||
export default function RootLayout() {
|
||||
const RootLayout = () => {
|
||||
const colorScheme = useColorScheme();
|
||||
|
||||
return (
|
||||
@@ -22,3 +29,4 @@ export default function RootLayout() {
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
export default Sentry.wrap(RootLayout);
|
||||
|
Reference in New Issue
Block a user