diff --git a/client/app/_layout.tsx b/client/app/_layout.tsx index 9ee573a..a3c9692 100644 --- a/client/app/_layout.tsx +++ b/client/app/_layout.tsx @@ -1,19 +1,19 @@ -import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native' -import { Stack, useNavigationContainerRef } from 'expo-router' -import { StatusBar } from 'expo-status-bar' -import { Provider as StoreProvider } from 'react-redux' -import { MD3DarkTheme, MD3LightTheme, PaperProvider } from 'react-native-paper' -import AsyncStorage from '@react-native-async-storage/async-storage' -import { QueryClient } from '@tanstack/react-query' -import { PersistQueryClientProvider } from '@tanstack/react-query-persist-client' -import { createAsyncStoragePersister } from '@tanstack/query-async-storage-persister' import { useReactNavigationDevTools } from '@dev-plugins/react-navigation' import { useReactQueryDevTools } from '@dev-plugins/react-query' +import AsyncStorage from '@react-native-async-storage/async-storage' +import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native' +import { QueryClient } from '@tanstack/react-query' +import { createAsyncStoragePersister } from '@tanstack/query-async-storage-persister' +import { PersistQueryClientProvider } from '@tanstack/react-query-persist-client' +import { Stack, useNavigationContainerRef } from 'expo-router' +import { StatusBar } from 'expo-status-bar' +import { MD3DarkTheme, MD3LightTheme, PaperProvider } from 'react-native-paper' +import { Provider as StoreProvider } from 'react-redux' +import GameProvider from '@/components/providers/GameProvider' +import GeolocationProvider from '@/components/providers/GeolocationProvider' +import LoginProvider from '@/components/providers/LoginProvider' import { useColorScheme } from '@/hooks/useColorScheme' import store from '@/utils/store' -import LoginProvider from '@/components/LoginProvider' -import GeolocationProvider from '@/components/GeolocationProvider' -import GameProvider from '@/components/GameProvider' const queryClient = new QueryClient({ defaultOptions: { diff --git a/client/components/GameProvider.tsx b/client/components/providers/GameProvider.tsx similarity index 100% rename from client/components/GameProvider.tsx rename to client/components/providers/GameProvider.tsx diff --git a/client/components/GeolocationProvider.tsx b/client/components/providers/GeolocationProvider.tsx similarity index 100% rename from client/components/GeolocationProvider.tsx rename to client/components/providers/GeolocationProvider.tsx diff --git a/client/components/LoginProvider.tsx b/client/components/providers/LoginProvider.tsx similarity index 100% rename from client/components/LoginProvider.tsx rename to client/components/providers/LoginProvider.tsx