Add convex
This commit is contained in:
@@ -2,8 +2,9 @@ import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native
|
|||||||
import { Stack } from 'expo-router';
|
import { Stack } from 'expo-router';
|
||||||
import { StatusBar } from 'expo-status-bar';
|
import { StatusBar } from 'expo-status-bar';
|
||||||
import 'react-native-reanimated';
|
import 'react-native-reanimated';
|
||||||
import * as Sentry from '@sentry/react-native';
|
|
||||||
import { useColorScheme } from '@/hooks/use-color-scheme';
|
import { useColorScheme } from '@/hooks/use-color-scheme';
|
||||||
|
import * as Sentry from '@sentry/react-native';
|
||||||
|
import { ConvexProvider, ConvexReactClient } from 'convex/react';
|
||||||
|
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: 'https://ff2e19b7c72ee50463c6c66b5bef7ce0@sentry.gbrown.org/8',
|
dsn: 'https://ff2e19b7c72ee50463c6c66b5bef7ce0@sentry.gbrown.org/8',
|
||||||
@@ -12,6 +13,8 @@ import { useColorScheme } from '@/hooks/use-color-scheme';
|
|||||||
profilesSampleRate: 1.0,
|
profilesSampleRate: 1.0,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const convex = new ConvexReactClient(process.env.EXPO_PUBLIC_CONVEX_URL)
|
||||||
|
|
||||||
export const unstable_settings = {
|
export const unstable_settings = {
|
||||||
anchor: '(tabs)',
|
anchor: '(tabs)',
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user