// =========================== // ©AngelaMos | 2026 // App.tsx // // Root application component that wraps the router with // TanStack Query provider, Sonner toast notifications // (dark theme, top-right, 2s duration), and React Query // devtools // // Connects to: // core/api - queryClient // core/app - router // =========================== import { QueryClientProvider } from '@tanstack/react-query' import { ReactQueryDevtools } from '@tanstack/react-query-devtools' import { RouterProvider } from 'react-router-dom' import { Toaster } from 'sonner' import { queryClient } from '@/core/api' import { router } from '@/core/app/routers' import '@/core/app/toast.module.scss' export default function App(): React.ReactElement { return (
) }