profit-planet-frontend/src/app/ClientWrapper.tsx
seaznCode 25fff9b1c3 feat: Implement user status management with custom hook
- Added `useUserStatus` hook to manage user status fetching and state.
- Integrated user status in Quick Action Dashboard and related pages.
- Enhanced error handling and loading states for user status.
- Updated profile completion and document upload flows to refresh user status after actions.
- Created a centralized API utility for handling requests and responses.
- Refactored authentication token management to use session storage.
2025-10-11 19:47:07 +02:00

14 lines
339 B
TypeScript

'use client';
import { I18nProvider } from './i18n/useTranslation';
import AuthInitializer from './components/AuthInitializer';
export default function ClientWrapper({ children }: { children: React.ReactNode }) {
return (
<I18nProvider>
<AuthInitializer>
{children}
</AuthInitializer>
</I18nProvider>
);
}