feat: implement authentication and health check providers with hooks for user management

This commit is contained in:
GW_MC
2025-12-20 12:27:42 +08:00
parent e59e7ca4c8
commit 7d99a4852b
7 changed files with 165 additions and 3 deletions

View File

@@ -2,7 +2,6 @@ import { createContext, use, type PropsWithChildren } from 'react';
import { createTanstackApi, createApi } from '../lib/api';
import axios from 'axios';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { useNavigate } from 'react-router';
type ApiProviderProps = PropsWithChildren<object>;
type ApiContextType = {