From 5143bdc446d7dbb1857a37946e77d98e08657cd9 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 16 Dec 2024 14:34:01 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9placement=20des=20providers=20dans=20un?= =?UTF-8?q?=20dossier=20d=C3=A9di=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/app/_layout.tsx | 24 +++++++++---------- .../{ => providers}/GameProvider.tsx | 0 .../{ => providers}/GeolocationProvider.tsx | 0 .../{ => providers}/LoginProvider.tsx | 0 4 files changed, 12 insertions(+), 12 deletions(-) rename client/components/{ => providers}/GameProvider.tsx (100%) rename client/components/{ => providers}/GeolocationProvider.tsx (100%) rename client/components/{ => providers}/LoginProvider.tsx (100%) 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