Download src/App.tsx from Jessedbrown/daisy-client: direct link, hf CLI and curl.
- Browser
- Download file 915 Bytes
-
https://huggingface.co/Jessedbrown/daisy-client/resolve/main/src/App.tsx
- Command line
-
hf download hf://Jessedbrown/daisy-client/src/App.tsx
-
curl -L -o App.tsx https://huggingface.co/Jessedbrown/daisy-client/resolve/main/src/App.tsx
915 Bytes
| import { QueryClientProvider } from '@tanstack/react-query'; | |
| import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; | |
| import { BrowserRouter as Router } from 'react-router-dom'; | |
| import { ErrorBoundary } from '@/components/ErrorBoundary'; | |
| import Layout from '@/components/Layout'; | |
| import AppRouter from '@/components/router/AppRouter'; | |
| import { Toaster } from '@/components/ui/sonner'; | |
| import { queryClient } from '@/lib/queryClient'; | |
| export default function App() { | |
| return ( | |
| <ErrorBoundary> | |
| <QueryClientProvider client={queryClient}> | |
| <Router> | |
| <Layout> | |
| <AppRouter /> | |
| </Layout> | |
| <Toaster /> | |
| </Router> | |
| {/* Show React Query DevTools in development */} | |
| {process.env.NODE_ENV === 'development' && ( | |
| <ReactQueryDevtools initialIsOpen={false} /> | |
| )} | |
| </QueryClientProvider> | |
| </ErrorBoundary> | |
| ); | |
| } | |