Auth provider added to the project

This commit is contained in:
مهرزاد قدرتی
2025-08-16 15:42:58 +03:30
parent 0548118208
commit 8a41aad9b9
10 changed files with 165 additions and 85 deletions

View File

@@ -4,6 +4,7 @@ import i18n from '@/config/i18n';
import { CustomThemeProvider } from './CustomThemeProvider';
import { RtlProvider } from './RtlProvider';
import { ToastProvider } from '@rkheftan/harmony-ui';
import { AuthProvider } from './AuthProvider';
export const AppProviders: React.FC<{ children: React.ReactNode }> = ({
children,
@@ -12,7 +13,9 @@ export const AppProviders: React.FC<{ children: React.ReactNode }> = ({
<I18nextProvider i18n={i18n}>
<RtlProvider>
<CustomThemeProvider>
<ToastProvider>{children}</ToastProvider>
<AuthProvider>
<ToastProvider>{children}</ToastProvider>
</AuthProvider>
</CustomThemeProvider>
</RtlProvider>
</I18nextProvider>