import { useColorScheme } from 'react-native' import { TamaguiProvider, type TamaguiProviderProps } from 'tamagui' import { ToastProvider, ToastViewport } from '@tamagui/toast' import { CurrentToast } from './CurrentToast' import { config } from '../tamagui.config' import {useRouter} from "expo-router" export function Provider({ children, ...rest }: Omit) { const colorScheme = useColorScheme() return ( {children} ) }